Login() публичный Метод

Returns the login result.
public Login ( string account, string password ) : LoginResultDto
account string The account.
password string The password.
Результат Bzs.Portable.DataTransferObjects.Authentication.LoginResultDto
Пример #1
0
        /// <summary>
        /// Login to the application.
        /// </summary>
        /// <returns>The result.</returns>
        public LoginResultDto Login()
        {
            this.SetResponseHeaderCacheExpiration();

            AccountPassword credentials = this.GetCredentialsFromRequest();
            AccountServerService service = new AccountServerService();
            return service.Login(credentials.Account, credentials.Password);
        }