private void RateRestaurant(string rate)
 {
     var dataBaseConnection = DataBaseConnection.Instance;
     RestaurantMO.Rating = rate;
     DismissViewController(true, () =>
    {
        HeaderView.SetRatingImageView(UIImage.FromBundle(rate));
    });
     dataBaseConnection.Conn.Update(RestaurantMO);
 }
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     NavigationItem.LargeTitleDisplayMode = UINavigationItemLargeTitleDisplayMode.Never;
     SetHeaderView();
     TableView.SeparatorStyle = UITableViewCellSeparatorStyle.None;
     SetNavigationController();
     CreateRestaurantInfoList();
     HeaderView.SetRatingImageView(UIImage.FromBundle(RestaurantMO.Rating));
     TableView.ContentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentBehavior.Never;
 }