public UserController(IDisplayModelService <UserDisplayModel> displayServ,
                       IEditModelService <UserEditModel> editServ,
                       IUserService userService)
     : base(displayServ, editServ)
 {
     _userService = userService;
 }
Exemple #2
0
 public RoleController(IDisplayModelService <RoleDisplayModel> displayServ,
                       IEditModelService <RoleEditModel> editServ,
                       IRoleService roleService)
     : base(displayServ, editServ)
 {
     _roleService = roleService;
 }
Exemple #3
0
 public CrudController(IDisplayModelService <TDisplayModel> displayModelService, IEditModelService <TEditModel> editModelService)
 {
     this._displayModelService = displayModelService;
     this._editModelService    = editModelService;
 }