public async Task <Apartment> UpdateAsync(Apartment entity)
        {
            var apartment = await apartmentRepository.AddOrUpdateAsync(entity);

            await UpdateRooms(entity, apartment);

            return(entity);
        }