public IActionResult Delete(string id)
        {
            try
            {
                if (string.IsNullOrEmpty(id))
                {
                    return(RedirectToAction("ViewAllVenues", "AllVenue"));
                }

                int result = _IVenue.DeleteVenue(Convert.ToInt32(id));

                if (result > 0)
                {
                    return(Json(data: true));
                }
                else
                {
                    return(Json(data: false));
                }
            }
            catch (Exception)
            {
                throw;
            }
        }
 public string Delete(int id)
 {
     _IVenue.DeleteVenue(id);
     return("Success");
 }