public async Task <IActionResult> Post([FromBody] CreateResidentDTO body)
        {
            var resident = new Resident()
            {
                FullName    = body.FullName,
                BirthDate   = body.BirthDate,
                Cpf         = body.Cpf,
                Email       = body.Email,
                Telephone   = body.Telephone,
                ApartmentId = body.ApartmentId,
            };
            await _repository.AddAsync(resident);

            return(Ok(CreateResidentDTO.FromResident(resident)));
        }