public static DataLayer.Review LibraryToDataReview(Review libModel)
        {
            var dataModel = new DataLayer.Review()
            {
                ID           = libModel.ID,
                RestaurantId = libModel.RestaurantId,
                reviewer     = libModel.reviewer,
                review1      = libModel.review1,
                rating       = libModel.rating
            };

            return(dataModel);
        }
        public static DataLayer.Review ToDataReview(Review webReview)
        {
            var dataReview = new DataLayer.Review()
            {
                ID           = webReview.ID,
                RestaurantId = webReview.RestaurantId,
                reviewer     = webReview.reviewer,
                review1      = webReview.review1,
                rating       = webReview.rating
            };

            return(dataReview);
        }
        //-----------------------------------------------
        public static Review DataToLibraryReview(DataLayer.Review dataModel)
        {
            var libModel = new Review()
            {
                ID           = dataModel.ID,
                RestaurantId = dataModel.RestaurantId,
                reviewer     = dataModel.reviewer,
                review1      = dataModel.review1,
                rating       = dataModel.rating
            };

            return(libModel);
        }
        public static Review ToWebReview(DataLayer.Review dataReview)
        {
            var webReview = new Review()
            {
                ID           = dataReview.ID,
                RestaurantId = dataReview.RestaurantId,
                reviewer     = dataReview.reviewer,
                review1      = dataReview.review1,
                rating       = dataReview.rating
            };

            return(webReview);
        }