public void UpdateManureStorageStructure(ManureStorageStructure manureStorageStructure)
 {
     if (manureStorageStructure.Id > 0)
     {
         var savedStructure = ManureStorageStructures.Single(mss => mss.Id == manureStorageStructure.Id);
         savedStructure.Name = manureStorageStructure.Name;
         savedStructure.UncoveredAreaSquareFeet = manureStorageStructure.UncoveredAreaSquareFeet;
     }
 }
 public ManureStorageStructure GetManureStorageStructure(int id)
 {
     return(ManureStorageStructures.Single(mss => mss.Id == id));
 }