public IHttpActionResult Edit(PersonDTO personDTO) { Validataors.ObjectValidator.IsNotNull(personDTO); var isEditSuccess = entityFrameworkService.Edit(ConvertToPersonEntity(personDTO)); Validataors.ObjectValidator.IsEditSuccess(isEditSuccess); return(Ok(isEditSuccess)); }