public QueryResponse <RoomType> GetAllRoomsTypeByDescription(SearchObject search) { QueryResponse <RoomType> responseProducts = roomTypeDAO.GetAllRoomsTypeByDescription(search); List <RoomType> temp = responseProducts.Data; foreach (RoomType item in temp) { item.Value.ToString("C2"); item.DailyValue.ToString("C2"); } return(responseProducts); }