public UnifOfWork(SqlServerApplicationContext context, IConfiguration configuration, IHttpContextAccessor httpContextAccessor, IHostEnvironment environment) { _context = context; _configuration = configuration; _httpContextAccessor = httpContextAccessor; _environment = environment; }
public CustomerController(UserManager <Customer> userManager, RoleManager <CustomerRole> roleManager, SqlServerApplicationContext context) { this.userManager = userManager; this.roleManager = roleManager; this.context = context; }