public bool eliminarRol(int id) { try { using (context = new BDContext()) { context.sp_deleteRol(id); context.SaveChanges(); return(true); } } catch (Exception) { return(false); } }