Esempio n. 1
0
 public MaterialsController(AtelierContext context, CachedService cachedService)
 {
     _context       = context;
     _cachedService = cachedService;
 }
 public AtelierDepartmentsController(AtelierContext context, CachedService cachedService)
 {
     _context       = context;
     _cachedService = cachedService;
 }
Esempio n. 3
0
 public ProductsController(AtelierContext context, CachedService cachedService)
 {
     _context       = context;
     _cachedService = cachedService;
 }
Esempio n. 4
0
 public OrdersController(AtelierContext context, CachedService cachedService)
 {
     _context       = context;
     _cachedService = cachedService;
 }
 public EmployeesController(AtelierContext context, CachedService cachedService)
 {
     _context       = context;
     _cachedService = cachedService;
 }
 public CachedService(AtelierContext context, IMemoryCache memoryCache)
 {
     _db         = context;
     _cache      = memoryCache;
     _rowsNumber = 20;
 }