public SimplePerson CreatePerson(CreatePersonRequest request) { var entity = PersonsRepository.CreatePerson(request.Name, request.Surname, request.ProfilePictureUrl, request.Birthday); return(Mapper.Map <SimplePerson>(entity)); }