public CafeController( IApplicationUserOperations applicationUserOperations, ITableOperations tableOperations, ICafeOperations cafeOperations, IPriceTableQueryOperations priceTableQueryOperations) { _applicationUserOperations = applicationUserOperations; _tableOperations = tableOperations; _cafeOperations = cafeOperations; _priceTableQueryOperations = priceTableQueryOperations; }
public void Initialize() { _context = InMemoryDb.GetContext(); _cafeOperations = new CafeOperations(_context); }