Esempio n. 1
0
 public CustomersController(OperationsContext context, IMapper mapper)
 {
     if (BLL == null)
     {
         BLL = new BusinessLogic(context, mapper);
     }
 }
Esempio n. 2
0
 public ItemCategoryTypesController(OperationsContext context, IMapper mapper)
 {
     if (BLL == null)
     {
         BLL = new BusinessLogic(context, mapper);
     }
 }
Esempio n. 3
0
 public BusinessLogic(OperationsContext context, IMapper mapper)
 {
     if (_unitOfWork == null)
     {
         _unitOfWork = new UnitOfWork(context);
     }
     _mapper = mapper;
 }
Esempio n. 4
0
 public GenericRepository(OperationsContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
 public UnitAbbrsController(OperationsContext context)
 {
     _db = context;
 }
 public RecipesController(OperationsContext context)
 {
     _db = context;
 }
Esempio n. 7
0
 public StatusController(OperationsContext context)
 {
     _db = context;
 }
Esempio n. 8
0
 public OrdersRepository(OperationsContext context) : base(context)
 {
 }
 public MerchantsRepository(OperationsContext context) : base(context)
 {
 }
Esempio n. 10
0
 public UnitOfWork(OperationsContext context)
 {
     _context = context;
 }
 public RecipeIngredientsController(OperationsContext context)
 {
     _db = context;
 }
Esempio n. 12
0
 public IngredientNamesController(OperationsContext context)
 {
     _db = context;
 }
Esempio n. 13
0
 public CustomersRepository(OperationsContext context) : base(context)
 {
 }