예제 #1
0
 public MaterialsController(AtelierContext context, CachedService cachedService)
 {
     _context       = context;
     _cachedService = cachedService;
 }
 public AtelierDepartmentsController(AtelierContext context, CachedService cachedService)
 {
     _context       = context;
     _cachedService = cachedService;
 }
예제 #3
0
 public ProductsController(AtelierContext context, CachedService cachedService)
 {
     _context       = context;
     _cachedService = cachedService;
 }
예제 #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;
 }