public static Data.Restaurants LibraryToData(Restaurants libModel)
        {
            var dataModel = new Data.Restaurants()
            {
                names = libModel.names
            };

            return(dataModel);
        }
        // mapping

        public static Restaurants DataToLibrary(Data.Restaurants dataModel)
        {
            var libModel = new Restaurants()
            {
                restaurant_id = dataModel.restaurant_id,
                names         = dataModel.names,
                address       = dataModel.address,
                city          = dataModel.city,
                state         = dataModel.state,
                zipcode       = dataModel.zipcode,
                style         = dataModel.style,
                avg_rating    = dataModel.avg_rating
            };

            return(libModel);
        }