예제 #1
0
        public async Task <Unit> Handle(CreateGarageCommand request, CancellationToken cancellationToken)
        {
            await _garegeRepository.InsertGarageAsync(Garage.CreateGarage(request.GarageName, request.CountryCode, null, request.CustomerId));

            return(Unit.Value);
        }