Exemple #1
0
        public async Task <IActionResult> GetLoggedInInUserInformationAsync()
        {
            var errorMessage = _sharedLocalizer.GetErrorMessage("User", CrudOperation.GetById);

            var user = await _accountService.GetLoggedInInUserInformationAsync().ConfigureAwait(false);

            return(user.GetObjectResponse(_defaultSucccessMessage, errorMessage));
        }