public async Task <AddressResponse> Handle(GetAddressByIdQuery request, CancellationToken cancellationToken) { var addressModel = await _addressRepo.FindOne(x => x.Id == request.Id); // maping var addressResponse = new AddressResponse() { Id = addressModel.Id, Name = addressModel.Name, City = addressModel.City, Street = addressModel.Street }; return(addressResponse); }