public HttpResponseMessage Delete(int Id) { var persona = _repository.GetPersona(Id, ActiveModule.ModuleID); _repository.DeletePersona(persona); return(Request.CreateResponse(System.Net.HttpStatusCode.NoContent)); }
//Persona Por ID public async Task <Persona> GetPersona(int id) { return(await _personaRepository.GetPersona(id)); }