public DepartmentController(IDepartmentService departmentService,
                             IDataTableOrder <Department> datatableOrder,
                             IDataTableSearch <Department> datatableSearch)
 {
     _departmentService = departmentService;
     _datatableSearch   = datatableSearch;
     _datatableOrder    = datatableOrder;
 }
 public CustomerController(ICustomerService customerService,
                           IDataTableOrder <Customer> datatableOrder,
                           IDataTableSearch <Customer> datatableSearch)
 {
     _customerService = customerService;
     _datatableSearch = datatableSearch;
     _datatableOrder  = datatableOrder;
 }
 public UserController(
     IUserService userService,
     IDataTableOrder <User> datatableOrder,
     IDataTableSearch <User> datatableSearch)
 {
     _userService     = userService;
     _datatableSearch = datatableSearch;
     _datatableOrder  = datatableOrder;
 }
Exemple #4
0
 public PositionController(
     IPositionService positionService,
     IDataTableOrder <PositionView> datatableOrder,
     IDataTableSearch <PositionView> datatableSearch,
     IDepartmentService departmentService)
 {
     _positionService   = positionService;
     _datatableSearch   = datatableSearch;
     _datatableOrder    = datatableOrder;
     _departmentService = departmentService;
 }