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; }
public AccountController() { _empService = new EmployeeService(); _userRoleAccessService = new UserRoleAccessService(); }
public RoleService(IUnitOfWork unitOfWork , IMapper mapperInstance , IUserRoleAccessService userRoleAccessService) : base(unitOfWork, mapperInstance) { _userRoleAccessService = userRoleAccessService; }