Beispiel #1
0
 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));
 }
Beispiel #4
0
 public CrudOnMessages(DonkeySellContext context)
 {
     this.context = context;
 }
Beispiel #5
0
 public CrudOnAlerts(DonkeySellContext context)
 {
     this.context = context;
 }
Beispiel #6
0
 public CrudOnFavorites(ICrudOnProducts crudOnProducts, DonkeySellContext context)
 {
     this.context        = context;
     this.crudOnProducts = crudOnProducts;
 }
Beispiel #7
0
 public GetCitiesAndCategories(DonkeySellContext context)
 {
     this.context = context;
 }
Beispiel #8
0
 public CrudOnProducts(ICrudOnMessages crudOnMessages, DonkeySellContext context)
 {
     this.context        = context;
     this.crudOnMessages = crudOnMessages;
 }
Beispiel #9
0
 public CrudOnFriends(DonkeySellContext context)
 {
     this.context = context;
 }
Beispiel #10
0
 public Authorization(DonkeySellContext context)
 {
     this.context = context;
 }
Beispiel #11
0
        protected override void Seed(DonkeySellContext context)
        {
            DonkeySellDatabaseFunctions seedClass = new DonkeySellDatabaseFunctions();

            seedClass.Seed();
        }