public void UpdateAdditionalPartsRequired() => PartStock.UpdateAdditionalPartsRequired(ScheduledTasks);
public List <PartModel> DetermineRequiredPartsForScheduledTasks() => PartStock.DetermineRequiredPartsForScheduledTasks(ScheduledTasks);
public void AddPartsToStock(List <PartModel> partsSent) => PartStock.AddPartsToStock(partsSent);
public void RemovePartsFromStock(List <PartModel> partsUsed) => PartStock.RemovePartsFromStock(partsUsed);
public PartStock QueryByRawNo(string RawNo) { PartStock _stock = _context.PartStocks.Where(p => p.RawNO == RawNo).FirstOrDefault(); return(_stock); }