예제 #1
0
 public AccountService(
     IConfiguration configuration,
     UserManager <ApplicationUser> userManager,
     IPasswordHasher <ApplicationUser> passwordHasher,
     IResponseDTO responseDTO,
     RoleManager <ApplicationRole> roleManager,
     IMapper mapper,
     IEmailService emailService,
     AppDbContext appDbContext,
     IUploadFilesService uploadFilesService)
 {
     _configuration      = configuration;
     _userManager        = userManager;
     _passwordHasher     = passwordHasher;
     _response           = responseDTO;
     _roleManager        = roleManager;
     _mapper             = mapper;
     _emailService       = emailService;
     _appDbContext       = appDbContext;
     _uploadFilesService = uploadFilesService;
 }
예제 #2
0
 public HomeController(IConfiguration configuration, ILogger <HomeController> logger, IUploadFilesService uploadFilesService)
 {
     _configuration      = configuration;
     _logger             = logger;
     _uploadFilesService = uploadFilesService;
 }
예제 #3
0
 /// <summary>
 /// 建構式
 /// </summary>
 /// <param name="logger">logger</param>
 /// <param name="uploadFilesService">uploadFilesService</param>
 public UploadFilesController(ILogger <UploadFilesController> logger, IUploadFilesService uploadFilesService)
 {
     this.logger             = logger;
     this.uploadFilesService = uploadFilesService;
 }