using System.Collections.Generic; using System.Threading.Tasks; using ThAmCo.Stock.Models.Dto; namespace ThAmCo.Stock.Data.StockContext { public interface IStockContext { Task> GetAll(); Task> GetAllPrices(); Task GetProductStockAsync(int id); Task> GetAllOrderRequests(); Task GetOrderRequest(int id); void AddProductStockAsync(); Price AddPriceAsync(Price price); void AddOrderRequest(OrderRequest order); void UpdateProductStockAsync(ProductStock productStock); void UpdateOrderRequest(OrderRequest orderRequest); void ApproveOrderRequest(int id); void SaveAndUpdateContext(); } }