Пример #1
0
 public InitiativeController(IInitiativeBusiness initiativeBusiness, IEmailBusiness emailBusiness, ISettingsBusiness settingsBusiness, IAccountRepository accountRepository)
 {
     _initiativeBusiness = initiativeBusiness;
     _emailBusiness      = emailBusiness;
     _settingsBusiness   = settingsBusiness;
     _accountRepository  = accountRepository;
 }
 public RegisterController(IOptionBusiness optionBusiness,
                           IRegistrationBusiness registrationBusiness,
                           IConfiguration appSetting,
                           IEmailBusiness emailBusiness,
                           IAdminAccountBusiness adminAccountBusiness)
 {
     _optionBusiness       = optionBusiness;
     _registrationBusiness = registrationBusiness;
     _appSetting           = appSetting;
     _emailBusiness        = emailBusiness;
     _adminAccountBusiness = adminAccountBusiness;
 }
Пример #3
0
 public RestaurantController(IHttpContextAccessor httpContextAccessor,
                             IRestaurantBusiness restaurantBusiness,
                             IEmailBusiness emailBusiness,
                             IConfiguration appSetting,
                             IAdminAccountBusiness adminAccountBusiness)
 {
     _authenticationDto    = httpContextAccessor.HttpContext.User.ToAuthenticationDto();
     _restaurantBusiness   = restaurantBusiness;
     _adminAccountBusiness = adminAccountBusiness;
     _emailBusiness        = emailBusiness;
     _appSetting           = appSetting;
 }
Пример #4
0
 public AdminAccountController(IHttpContextAccessor httpContextAccessor,
                               ILogger <AdminAccountController> logger,
                               IAdminAccountBusiness adminAccountBusiness,
                               IEmailBusiness emailBusiness,
                               IConfiguration appSetting,
                               IMapper mapper)
 {
     _authenticationDto    = httpContextAccessor.HttpContext.User.ToAuthenticationDto();
     _logger               = logger;
     _adminAccountBusiness = adminAccountBusiness;
     _emailBusiness        = emailBusiness;
     _appSetting           = appSetting;
     _mapper               = mapper;
 }
Пример #5
0
 public AccountController(IAccountRepository accountRepository, IEmailBusiness emailBusiness, ISettingsBusiness settingsBusiness)
 {
     _accountRepository = accountRepository;
     _emailBusiness     = emailBusiness;
     _settingsBusiness  = settingsBusiness;
 }
Пример #6
0
 public EmailController(IEmailBusiness emailBusiness, ILoggingBusiness logging)
 {
     _emailBusiness = emailBusiness;
     _logging       = logging;
 }
Пример #7
0
 public EmailController(
     IEmailBusiness emailBusiness
     )
 {
     _emailBusiness = emailBusiness;
 }
Пример #8
0
 public ManageController(IAccountRepository accountRepository, IEmailBusiness emailBusiness, IInitiativeBusiness initiativeBusiness)
 {
     _accountRepository  = accountRepository;
     _emailBusiness      = emailBusiness;
     _initiativeBusiness = initiativeBusiness;
 }
Пример #9
0
 public EmailController(IEmailBusiness emailBusiness, ISettingsBusiness settingsBusiness)
 {
     _emailBusiness    = emailBusiness;
     _settingsBusiness = settingsBusiness;
 }