public ActionResult ValidateCredentials(UserLoginModel userLogin)
        {
            var validateCredentialsResultDto = new ValidateCredentialsResultModel
            {
                HasValidCredentials = this.ValidateUser(userLogin)
            };

            return(this.JsonOk(validateCredentialsResultDto));
        }
        public ActionResult ValidateCredentials(LoginRequest request)
        {
            var validateCredentialsResultDto = new ValidateCredentialsResultModel
            {
                HasValidCredentials = this.authenticationService.ValidateUser(request.Email, request.Password)
            };

            return(this.JsonOk(validateCredentialsResultDto));
        }