def post(self, request: HttpRequest, dto: PersonInDto): person = PersonService.create(dto.name) return ApiResponse.success(PersonOutDto.from_person(person))
def save(self, commit=True): person = PersonService.create(name=self.cleaned_data[NAME]) return person