public JsonResult Delete(int id) { try { _marketServices.DeleteMarket(id, CurrentUserId); return(Json(new { success = true })); } catch (Exception e) { return(Json(new { success = false, message = e.InnerException })); } }