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; }
public HomeController(IConfiguration configuration, ILogger <HomeController> logger, IUploadFilesService uploadFilesService) { _configuration = configuration; _logger = logger; _uploadFilesService = uploadFilesService; }
/// <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; }