public static RestaurantDataAccessLayer.Review RevLibToDataConverion(BusinessLayer.Reviews.Review p)
 {
     RestaurantDataAccessLayer.Review temp = new RestaurantDataAccessLayer.Review();
     temp.Rating       = p.rating;
     temp.RestaurantID = p.RestaurantID;
     temp.written      = p.written;
     temp.rownumber    = new Crud <RestaurantDataAccessLayer.Review>().ToList().Count + 1;
     return(temp);
 }
        public static void AddReview(Reviews.Review rev)
        {
            Crud <RestaurantDataAccessLayer.Review> crud = new Crud <RestaurantDataAccessLayer.Review>();

            crud.Add(LibraryConverter.RevLibToDataConverion(rev));
        }