public StockCost AddStockCost(StockCost newStockCost)
        {
            var addedStockCost = context.StockCosts.Add(newStockCost);

            context.SaveChanges();
            return(addedStockCost);
        }
 public StockCost AddStockCost(StockCost newStockCost)
 {
     var addedStockCost = context.StockCosts.Add(newStockCost);
     context.SaveChanges();
     return addedStockCost;
 }