public ItemsController(FastFoodContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
示例#2
0
 public InitEntitiesHelper(FastFoodContext ffContext)
 {
     this.ffContext = ffContext;
 }
示例#3
0
 public StoreInvoicingRepository(FastFoodContext context)
 {
     _context = context;
 }
 public EmployeesController(FastFoodContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
示例#5
0
 public CategoryRepository(FastFoodContext db)
 {
     _db = db;
 }
 public CategoryRepository(FastFoodContext context)
 {
     _context = context;
 }
示例#7
0
 public ProductTypeService(FastFoodContext ffContext)
 {
     this.ffContext = ffContext;
 }
 public EmployeeService(FastFoodContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }
 public PedidoRepository(FastFoodContext context)
 {
     _context = context;
 }
 public AuthenticationService(FastFoodContext ffContext)
 {
     this.ffContext = ffContext;
 }
示例#11
0
        public FastFoodController(FastFoodContext context)

        {
            Context = context;
        }
示例#12
0
 public RoleService(FastFoodContext ffContext)
 {
     this.ffContext = ffContext;
 }
示例#13
0
 public StatisticService(FastFoodContext ffContext)
 {
     this.ffContext = ffContext;
 }
 public ProductsController(FastFoodContext context)
 {
     _context = context;
 }
 public PositionService(FastFoodContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }
示例#16
0
 //constructor dependency injection
 public OrderRepository(FastFoodContext db)
 {
     _db = db;
 }
示例#17
0
 public DataBaseController(FastFoodContext ffContext)
 {
     dbInitHelper = new DatabaseInitHelper(ffContext);
 }
 public CustomerRepository(FastFoodContext db)
 {
     _db = db;
 }
 public ProductsRepository(FastFoodContext context)
 {
     this._context = context;
 }
示例#20
0
 public AuthenRepository(FastFoodContext context, IMemoryCache cache, ILogger <AuthenRepository> logger)
 {
     _context = context;
     _cache   = cache;
     _logger  = logger;
 }
示例#21
0
 public OrdersController(FastFoodContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
示例#22
0
 public MenuRepository(FastFoodContext db)
 {
     _db = db;
 }
 public OrderService(FastFoodContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }
示例#24
0
 public UserService(FastFoodContext ffContext)
 {
     this.ffContext = ffContext;
 }
 public CategoryService(FastFoodContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }
示例#26
0
 public PositionsController(FastFoodContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
示例#27
0
        public HomeController(ILogger <HomeController> logger, FastFoodContext context)
        {
            _context = context;

            _logger = logger;
        }
示例#28
0
 public CategoriesController(FastFoodContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
示例#29
0
 public DatabaseInitHelper(FastFoodContext ffContext)
 {
     initHelper   = new InitEntitiesHelper(ffContext);
     removeHelper = new RemoveEntitiesHelper(ffContext);
 }