public UserController(ILogger <UserController> logger, IMemoryCache memoryCache, IUserServicecs userServicecs,
                       IDepartmentService departmentService, IPositionService positionService, IFunctionService functionService) : base(logger, memoryCache)
 {
     _userService       = userServicecs;
     _departmentService = departmentService;
     _positionService   = positionService;
     _functionService   = functionService;
 }
Exemple #2
0
        private readonly IUserServicecs serviceU; //business layer refrence

        public LoginUserController(IUserServicecs service)
        {
            serviceU = service;
        }