예제 #1
0
 public BaseController(IUnitOfWork unitOfWork = null)
 {
     _employeeService       = new EmployeeService();
     _loginService          = new LoginService();
     _moduleService         = new ModuleService();
     _userRoleAccessService = new UserRoleAccessService();
     _notifications         = new NotificationService();
     _role       = new RolesService();
     _unitOfWork = unitOfWork ?? new UnitOfWork();
     var uow = new UnitOfWork();
 }
 public UserRoleAccessController(IUserRoleAccessService userRoleAccessService)
 {
     _userRoleAccessService = userRoleAccessService;
 }
예제 #3
0
 public AccountController()
 {
     _empService            = new EmployeeService();
     _userRoleAccessService = new UserRoleAccessService();
 }
예제 #4
0
 public RoleService(IUnitOfWork unitOfWork
                    , IMapper mapperInstance
                    , IUserRoleAccessService userRoleAccessService) : base(unitOfWork, mapperInstance)
 {
     _userRoleAccessService = userRoleAccessService;
 }