public CrudOnUsers(ICrudOnProducts crudOnProducts, IMailSender mailSender, ICrudOnFriends crudOnFriends, ICrudOnAlerts crudOnAlerts, DonkeySellContext context) { this.context = context; userManager = new UserManager <DonkeySellUser>(new UserStore <DonkeySellUser>(context)); roleManager = new RoleManager <IdentityRole>(new RoleStore <IdentityRole>(context)); this.crudOnProducts = crudOnProducts; this.mailSender = mailSender; this.crudOnFriends = crudOnFriends; this.crudOnAlerts = crudOnAlerts; }
public CrudOnImprovements(DonkeySellContext context) { this.context = context; }
public DonkeySellDatabaseFunctions() { context = new DonkeySellContext(); userManager = new UserManager <DonkeySellUser>(new UserStore <DonkeySellUser>(context)); roleManager = new RoleManager <IdentityRole>(new RoleStore <IdentityRole>(context)); }
public CrudOnMessages(DonkeySellContext context) { this.context = context; }
public CrudOnAlerts(DonkeySellContext context) { this.context = context; }
public CrudOnFavorites(ICrudOnProducts crudOnProducts, DonkeySellContext context) { this.context = context; this.crudOnProducts = crudOnProducts; }
public GetCitiesAndCategories(DonkeySellContext context) { this.context = context; }
public CrudOnProducts(ICrudOnMessages crudOnMessages, DonkeySellContext context) { this.context = context; this.crudOnMessages = crudOnMessages; }
public CrudOnFriends(DonkeySellContext context) { this.context = context; }
public Authorization(DonkeySellContext context) { this.context = context; }
protected override void Seed(DonkeySellContext context) { DonkeySellDatabaseFunctions seedClass = new DonkeySellDatabaseFunctions(); seedClass.Seed(); }