Ejemplo n.º 1
0
 public AdminService(
     IShopEmployeeService shopEmployeeService,
     IMapper mapper,
     IAuthService authService)
 {
     ShopEmployeeService = shopEmployeeService;
     Mapper      = mapper;
     AuthService = authService;
 }
Ejemplo n.º 2
0
 public AdminController(
     IShopEmployeeService shopEmployeeService,
     IMapper mapper,
     UserManager <User> userManager,
     IAdminService adminService,
     IRentalService rentalService)
 {
     ShopEmployeeService = shopEmployeeService;
     Mapper        = mapper;
     UserManager   = userManager;
     AdminService  = adminService;
     RentalService = rentalService;
 }
Ejemplo n.º 3
0
 public AuthController(
     IAuthService authService,
     IUsersService usersService,
     IAddressService addressService,
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     IConfiguration configuration,
     IMapper mapper,
     ITokenService tokenService,
     IShopUserService shopUserService,
     IShopEmployeeService shopEmployeeService)
 {
     AuthService         = authService;
     UsersService        = usersService;
     AddressService      = addressService;
     UserManager         = userManager;
     SignInManager       = signInManager;
     Configuration       = configuration;
     Mapper              = mapper;
     TokenService        = tokenService;
     ShopUserService     = shopUserService;
     ShopEmployeeService = shopEmployeeService;
 }