예제 #1
0
 public IActionResult EditHouse(House selectedHouse)
 {
     //Open Edit house window with existing house
     using (IPropertyRepository propRep = new PropertyRepository())
     {
         selectedHouse.Photos = propRep.SelectPhotos(selectedHouse.MLSNum);
     }
     return(View("~/Views/Property/EditProperty.cshtml", selectedHouse));
 }