コード例 #1
0
 public FixedFiledController(IFixedFiledService service, IMailService mailService, IAutoMapper mapper, IOptions <AppSettings> appSettings)
 {
     _appSettings = appSettings.Value;
     _mailService = mailService;
     _mapper      = mapper;
     _service     = service;
 }
コード例 #2
0
 public FormService(IUnitOfWork uniteOfwork, IOptions <AppSettings> appSettings, IAutoMapper mapper,
                    IFormFieldService formFiledService,
                    IFixedFiledService fixedFiledService,
                    IFixedFiledDetailsService fixedFiledDetailsService
                    )
 {
     _uniteOfwork              = uniteOfwork;
     _appSettings              = appSettings.Value;
     _mapper                   = mapper;
     _formFiledService         = formFiledService;
     _fixedFiledService        = fixedFiledService;
     _fixedFiledDetailsService = fixedFiledDetailsService;
 }