public async Task <IActionResult> Login(AuthCommand command)
        {
            var result = _appService.Login(command);

            if (_notificationProvider.HasErrors())
            {
                return(BadRequest(new FailedResult("Bad Request", _notificationProvider.GetErrors())));
            }

            return(Ok(result));
        }
        public async Task <ActionResult> Post(UserCreateCommand command)
        {
            var result = await _appService.PostAsync(command);

            if (_notificationProvider.HasErrors())
            {
                return(BadRequest(new FailedResult("Bad Request", _notificationProvider.GetErrors())));
            }

            return(Ok(result));
        }