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; }
public InvoiceController(UserManager <ApplicationUser> userManager, IInvoiceService invoiceService, IBussinessService service, IEmailManager emailSender, IWebHostEnvironment hostingEnvironment) { _userManager = userManager; _invoiceService = invoiceService; _bussinessService = service; _emailSender = emailSender; _hostingEnvironment = hostingEnvironment; }
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; }
public BussinessController(IBussinessService bussinessService) { _bussinessService = bussinessService; }