Пример #1
0
        public async Task <IActionResult> GetCustomer([FromRoute][Required] GetCustomerDetailsRequest request)
        {
            var getCustomerDetailsInput = new GetCustomerDetailsInput(request.CustomerId);
            await _getCustomerDetailsUseCase.Execute(getCustomerDetailsInput);

            return(_presenter.ViewModel);
        }
Пример #2
0
        public object GetExamples()
        {
            var request = new GetCustomerDetailsRequest()
            {
                CustomerId = new Guid("de136a73-4253-4a05-84b8-43f902e2f5cb")
            };

            return(request);
        }