public ActionResult Delete(string id) { try { _perfilAppService.Delete(id); _perfilAppService.Save(); return(NoContent()); } catch (Exception) { return(BadRequest()); } }