public AdminController(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IAccomRepo accomRepo, ITypeRepo typeRepo, IOrderRepo orderRepo) { _userManager = userManager; _roleManager = roleManager; _accomRepo = accomRepo; _typeRepo = typeRepo; _orderRepo = orderRepo; }
public UnitOfWork(DbContext context) { this.Context = context; product = new ProductRepo(context); type = new TypeRepo(context); typeopt = new TypeOptRepo(context); typespec = new TypeSpecRepo(context); manufacturer = new ManufacturerRepo(context); }
public TypeAccomMenu(ITypeRepo typeRepo) { _typeRepo = typeRepo; }
public AccomController(IAccomRepo accomRepo, ITypeRepo typeRepo) { _accomRepo = accomRepo; _typeRepo = typeRepo; }
public AccomManagementController(IAccomRepo accomRepo, ITypeRepo typeRepo) { _accomRepo = accomRepo; _typeRepo = typeRepo; }