public static IdentityUserManager Create(IdentityFactoryOptions <IdentityUserManager> options, IOwinContext context) { PizzaDataContext dbContext = new PizzaDataContext(); UserRepository userRepository = new UserRepository(dbContext); IdentityUserStore userStore = new IdentityUserStore(userRepository); IdentityUserManager userManager = new IdentityUserManager(userStore); userManager.UserValidator = new IdentityUserValidator(); return(userManager); }
public ContactRepository(PizzaDataContext db) : base(db) { }
public BaseRepository(PizzaDataContext db) { this.Context = db; this.DbSet = this.Context.Set <T>(); }
public PizzaRepository(PizzaDataContext db) : base(db) { }
public TemplateRepository(PizzaDataContext db) : base(db) { }
public PizzasController(PizzaDataContext context) { this.context = context; }
public IngredientRepository(PizzaDataContext db) : base(db) { }
public OrderRepository(PizzaDataContext db) : base(db) { }