public IEnumerable <string> insertHotelRoom(string RoomID, string RoomNo, string RoomType, string Prize) { if (RoomNo == null) { RoomNo = ""; } if (RoomType == null) { RoomType = ""; } if (Prize == null) { Prize = ""; } return(db.USP_Hotel_Insert(Convert.ToInt32(RoomID), RoomNo, RoomType, Prize).AsEnumerable()); }
public IEnumerable <string> insertHotelRoom(string RoomNo, string RoomType, string Prize) { if (RoomNo == null) { RoomNo = ""; } if (RoomType == null) { RoomType = ""; } if (Prize == null) { Prize = ""; } return(objapi.USP_Hotel_Insert(RoomNo, RoomType, Prize).AsEnumerable()); }