Пример #1
0
 /// <summary>
 /// Method To Return The Object Of RoomType By Given Id
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public RoomType EditRoomType(int id)
 {
     return(roomtypeRepository.Find(id));
 }
Пример #2
0
 public IEnumerable <RoomType> Find(Func <RoomType, bool> prdicate)
 {
     return(_roomTypeRepository.Find(prdicate));
 }