public static List <string> GetRoomTypeList() { List <string> list = new List <string>(); List <RoomType> roomtype = RoomTypeService.GetAllRoomType(); foreach (RoomType i in roomtype) { list.Add(i.TypeName); } return(list); }
public static List <RoomType> GetAllRoomType() { return(RoomTypeService.GetAllRoomType()); }