public bool CreateRoomType(string Name, string Price) { try { HotelManagementDataContext db = new HotelManagementDataContext(); db.sp_CreateRoomTypes(Name, Convert.ToDecimal(Price)); db.RoomTypes.Context.SubmitChanges(); return(true); } catch { return(false); } }