public EFOrderRepository( AppDataDbContext context, IDishAvailabilityRepository dishAvailabilityRepository) { _context = context; _dishAvailabilityRepository = dishAvailabilityRepository; }
public UnitOfWork(AppDataDbContext context) { this.db = context; }
public ApplicationFormController(AppDataDbContext context) { _context = context; }
public UserService(AppDataDbContext userContext) { _userContext = userContext; }
public EFContactUsRepository(AppDataDbContext context) { this.context = context; }
/// <summary> /// inject the DbContext in repository class /// </summary> /// <param name="ctx"></param> public CategoryRepository(AppDataDbContext ctx) { this.ctx = ctx; }
public EFPartnerRepository(AppDataDbContext context) { this.context = context; }
public EFUserRepository(AppDataDbContext appContext, ApplicationDbContext context) { this.appContext = appContext; this.context = context; }
public WorkoutsService(AppDataDbContext context) { _context = context; }
public PaymentTypeController(AppDataDbContext context) { _context = context; }
public AuthService(AppDataDbContext userContext) { _userContext = userContext; }
public OrderRepo(AppDataDbContext context) : base(context) { }
/// <summary> /// inject the DbContext in repository class /// </summary> /// <param name="ctx"></param> public ProductRepository(AppDataDbContext ctx) { this.ctx = ctx; }
public BrandRepo(AppDataDbContext context) : base(context) { }
public CategoryRepo(AppDataDbContext context) : base(context) { }
public MealsService(AppDataDbContext context) { _context = context; }
public Repository(AppDataDbContext context) { _context = context; }
public EFCustomerRepository(AppDataDbContext context) { this.context = context; }
public EFDishTypeRepository(AppDataDbContext context) { this.context = context; }
public EFDishAvailabilityRepository(AppDataDbContext context) { _context = context; }
public ItemRepository(AppDataDbContext dataContext) { _dataContext = dataContext; }
public LoanApplicationController(AppDataDbContext context) { _context = context; }
public LoansController(AppDataDbContext context) { _context = context; }
public EFItemOrderRepository(AppDataDbContext context) { _context = context; }
public ProductColorRepo(AppDataDbContext context) : base(context) { }
public static void Seed(AppDataDbContext context) { context.Database.EnsureCreated(); }
public ProductRepository(AppDataDbContext dataContext) { _dataContext = dataContext ?? throw new ArgumentNullException(nameof(dataContext)); }
public ImageController(AppDataDbContext context, IHostingEnvironment hostingEnvironment) { _context = context; henv = hostingEnvironment; }