Example #1
0
        public async Task <IActionResult> Close([FromRoute][Required] CloseAccountRequest request)
        {
            var closeAccountInput = new CloseAccountInput(request.AccountId);
            await _closeAccountUseCase.Execute(closeAccountInput);

            return(_presenter.ViewModel);
        }
Example #2
0
        public object GetExamples()
        {
            var request = new CloseAccountRequest()
            {
                AccountId = new Guid("bfcd98e1-a0bf-48c5-9112-885509b1018b")
            };

            return(request);
        }