public async Task <ActionResult> DeleteIds(string ids) { try { var result = await _locationServices.Delete(ids); if (result.Status == Status.ok) { return(Json("ok")); } else { return(Json(result.Message)); } } catch { return(View()); } }