public void GetAll_Test() { MaharajasDbContext context = new MaharajasDbContext(); var menutest = new MenusController(new Library(new MenusLibrary(context), new PhotoMenusLibrary(context), new ReservationsLibrary(context))); HttpResponseMessage response = menutest.GetAll("Breads_and_Rice"); Assert.IsNotNull(response); }
public CustomUserStore_Test() { this.context = new MaharajasDbContext(); }
public CustomUserStore(IUserStore <ApplicationUser> userstore, MaharajasDbContext context) { this.userstore = userstore; this.context = context; }
public MenusService(IMaharajasDBContext dbcontext) { this.dbcontext = (MaharajasDbContext)dbcontext; }
public ReservationsService(IMaharajasDBContext dbcontext) { this.dbcontext = (MaharajasDbContext)dbcontext; }