public ProductController(IMapper mapper, IWebHostEnvironment env, IConfiguration configuration, DataShopContext dbcontext) { this._mapper = mapper; _env = env; db = dbcontext; Configuration = configuration; }
public ProductController(DataShopContext dbcontext, IMapper mapper, IMailService mailService, IWebHostEnvironment env, IConfiguration conf, IViewRenderService renderService) { _db = dbcontext; _mapper = mapper; this.mailService = mailService; _env = env; _configuration = conf; _viewRenderService = renderService; }
public AccountController( UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, //IEmailSender emailSender, //ISmsSender smsSender, ILoggerFactory loggerFactory, DataShopContext context) { _userManager = userManager; _signInManager = signInManager; //_emailSender = emailSender; //_smsSender = smsSender; _logger = loggerFactory.CreateLogger <AccountController>(); _context = context; }
public ManageController( UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, //IEmailSender emailSender, //ISmsSender smsSender, ILoggerFactory loggerFactory, DataShopContext context, IMapper mapper) { _userManager = userManager; _signInManager = signInManager; //_emailSender = emailSender; //_smsSender = smsSender; _logger = loggerFactory.CreateLogger <ManageController>(); _context = context; _mapper = mapper; }
public WarrantyController(IMapper mapper, IConfiguration configuration, DataShopContext dbcontext) { this._mapper = mapper; db = dbcontext; Configuration = configuration; }
public BannerController(IMapper mapper, IConfiguration configuration, DataShopContext dbcontext, IWebHostEnvironment env) { this._mapper = mapper; db = dbcontext; Configuration = configuration; }
public HomeController(ILogger <HomeController> logger, IConfiguration Configuration, DataShopContext dbcontext) { _logger = logger; _configuration = Configuration; _db = dbcontext; }
public CategoryController(DataShopContext dbcontext) { _db = dbcontext; }
public FooterViewComponent(DataShopContext db) { _db = db; }