Beispiel #1
0
 public UserController(UserManager <ApplicationUser> userManager, IUserService _service, IBussinessService bussinessService, IWebHostEnvironment hostingEnvironment)
 {
     _userManager        = userManager;
     _userService        = _service;
     _bussinessService   = bussinessService;
     _hostingEnvironment = hostingEnvironment;
 }
 public InvoiceRepository(ApplicationDbContext _db, IBussinessService service,
                          IEmailManager emailSender, IWebHostEnvironment hostingEnvironment)
 {
     db = _db;
     _bussinessService   = service;
     _emailSender        = emailSender;
     _hostingEnvironment = hostingEnvironment;
 }
Beispiel #3
0
 public InvoiceController(UserManager <ApplicationUser> userManager, IInvoiceService invoiceService, IBussinessService service,
                          IEmailManager emailSender, IWebHostEnvironment hostingEnvironment)
 {
     _userManager        = userManager;
     _invoiceService     = invoiceService;
     _bussinessService   = service;
     _emailSender        = emailSender;
     _hostingEnvironment = hostingEnvironment;
 }
Beispiel #4
0
 public AccountController(UserManager <ApplicationUser> userManager,
                          IOptions <ApplicationSettings> appSettings,
                          IBussinessService service,
                          IUserService userService,
                          IEmailManager emailSender,
                          IWebHostEnvironment hostingEnvironment)
 {
     _userManager        = userManager;
     _appSettings        = appSettings.Value;
     _bussinessService   = service;
     _userService        = userService;
     _emailSender        = emailSender;
     _hostingEnvironment = hostingEnvironment;
 }
Beispiel #5
0
 public BussinessController(IBussinessService bussinessService)
 {
     _bussinessService = bussinessService;
 }