public AdminServices(RosShopDbContext db, UserManager <User> userManager, RoleManager <IdentityRole> roleManager, IHostingEnvironment e) { this.db = db; this.userManager = userManager; this.roleManager = roleManager; this.he = e; }
public ShopingCardService(RosShopDbContext db, UserManager <User> userManager) { this.db = db; this.userManager = userManager; }
public ShopingCardController(IShopingCardService shopinCardService, RosShopDbContext db, UserManager <User> userManager) { this.shopinCardService = shopinCardService; this.db = db; this.userManager = userManager; }
public UserServices(RosShopDbContext db) { this.db = db; }