public ActionResult <University> DeleteUniversity(int id) { try { _universityService.DeleteUniversity(id); } catch (DbUpdateConcurrencyException ex) { string msg = ex.Message; } return(NoContent()); }
public ActionResult <University> DeleteUniversity(int id) { try { _universityService.DeleteUniversity(id); } catch (DbUpdateConcurrencyException ex) { string msg = ex.Message; } return(NoContent()); }