常用方法
常用方法
常用方法
常用方法
public House GetHouse(long id) { var house = m_houseRepository.Find(id); if (house == null) { throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.NotFound)); } return(house); }