public SupplyDTO UpdateSupplyInformation(SupplyDTO supply) { var supplyRepository = new SupplyRepository(); var supplyId = supplyRepository.UpdateSupply(supply); return(supplyRepository.GetSupplyById(supplyId)); }