Exemplo n.º 1
0
        public static string PostLogin(string username, string password)
        {
            try
            {
                IadmClient  service = new IadmClient();
                List <akun> data    = new List <akun>();

                akun user = new akun()
                {
                    Username = username,
                    Password = password
                };
                string roles = service.GetLogin(user).TrimEnd();
                service.Close();
                return(roles);
            }
            catch (Exception)
            {
                throw;
            }
        }