Exemple #1
0
        public async Task <IActionResult> AllMyAccounts(Guid?getAccount)
        {
            var result = await _account.AllMyAccounts(getAccount);

            if (result == null)
            {
                return(NotFound($"No account was found"));
            }
            else
            {
                return(Ok(result));
            }
        }