public int DesactivatePerson(int id) { using (var context = new DBEntities()) { DateTime today = DateTime.Today; return(context.Desactivate_Person_Account(id, id)); } }