public ActionResult <IEnumerable <RestaurantProfileViewModel> > GetRestaurantsByProfileId(string id)
 {
     try
     {
         IEnumerable <RestaurantProfileViewModel> Restaurants = _rs.GetRestaurantsByProfileId(id);
         return(Ok(Restaurants));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }