public string GetAdminTicket() { if (string.IsNullOrEmpty(mAdminTicket)) { WebAccountService.WebAccountService endpoint = new WebAccountService.WebAccountService(); mAdminTicket = endpoint.Login("*****@*****.**", "password"); } return(mAdminTicket); }
public string Login(string email, string password) { WebAccountService.WebAccountService endpoint = new WebAccountService.WebAccountService(); return(endpoint.Login(email, password)); }