Пример #1
0
 public PrintRequestService(
     DBContext ctx,
     IMapper mapper,
     AuthContext auth,
     IUserService UserService,
     IProfilePhotoService ProfilePhotoService) : base(ctx, mapper)
 {
     this.auth                = auth;
     this.UserService         = UserService;
     this.ProfilePhotoService = ProfilePhotoService;
 }
Пример #2
0
 public EmployeeService(DBContext ctx,
                        IMapper mapper,
                        AuthContext auth,
                        IUserService UserService,
                        IProfilePhotoService ProfilePhotoService,
                        IPasswordHasher <Database.ApplicationUser> PasswordHasher) : base(ctx, mapper)
 {
     this.auth                = auth;
     this.UserService         = UserService;
     this.ProfilePhotoService = ProfilePhotoService;
     this.PasswordHasher      = PasswordHasher;
 }
 public ProfilePhotosController(IProfilePhotoService profilePhotoService, IWebHostEnvironment webHostEnvironment)
 {
     _profilePhotoService = profilePhotoService;
     _webHostEnvironment  = webHostEnvironment;
 }