public ActionResult Delete(ServerDataModel serverData) { try { RestClient.Delete(serverData.Id); return(RedirectToAction("Index")); } catch { return(View()); } }