Exemple #1
0
        /// <summary>
        /// Get user credentials from db
        /// username, salt, hash pass, type, id
        /// </summary>
        /// <returns>returns dto with user credentials</returns>
        public Outcome Execute()
        {
            var response = new Outcome();

            LoginGateway loginGateway = new LoginGateway();

            response.Result = loginGateway.GetCredentials(loginDTO);

            return(response);
        }