public IHttpActionResult Put(int id, [FromBody] PersonN person) { return(Ok(person)); }
public void EditPerson(PersonN person) { _peopleRepository.Update(person); _unitOfWork.Commit(); }
public void DeletePerson(PersonN person) { _peopleRepository.Delete(person); _unitOfWork.Commit(); }
public void CreatePerson(PersonN person) { _peopleRepository.Add(person); _unitOfWork.Commit(); }