Posted on: 10/8/2014 11:56:28 PM | Views : 728

I am using NTier architecture for my application.  We have a service layer, data access layer, and data transfer object layer.  I have one page that will have two different grids on it.  One grid updates links and the other grid will update a group name where the links will be connected with.  Both grids will have largely similar functions when it comes to displaying the grid data, inserting, updating, and deleting etc.
Is it best to break it out into two different services/repositories - one each per grid? Or since they are connected, go ahead and leave them in one service and repository and maybe break them up by regions etc.?  Of course we would need to make different functions/methods because the DTO that is passed in will be different for each grid since their tables are different in the database etc.  Example would be GridOneInsert(GridOneDTO theDTO) and GridTwoInsert(GridTwoDTO theDTO).  
Or is there a better way to do ...

Go to the complete details ...