public void UpdateRoomPrice(RoomPriceLL roomPrice) { DataBase.RoomPrice.Update(mapper.Map <RoomPriceDL>(roomPrice)); DataBase.Save(); }
public void AddRoomPrice(RoomPriceLL roomPrice) { DataBase.RoomPrice.Create(mapper.Map <RoomPriceDL>(roomPrice)); DataBase.Save(); }