Esempio n. 1
0
 public PresentationService(
     IPresenationDispatcher <GetEntitiesRequestModel, ListContext> getEntitiesDispatcher,
     IPresenationDispatcher <GetEntityRequestModel, EditContext> getEntityDispatcher)
 {
     _getEntitiesDispatcher = getEntitiesDispatcher;
     _getEntityDispatcher   = getEntityDispatcher;
 }
Esempio n. 2
0
 public PresentationService(
     IPresenationDispatcher <GetEntitiesRequestModel, ListContext> getEntitiesDispatcher,
     IPresenationDispatcher <GetEntityRequestModel, EditContext> getEntityDispatcher,
     IPresenationDispatcher <string, IEnumerable <ITypeRegistration> > getPageDispatcher)
 {
     _getEntitiesDispatcher = getEntitiesDispatcher;
     _getEntityDispatcher   = getEntityDispatcher;
     _getPageDispatcher     = getPageDispatcher;
 }