public User LoginVerify(string Username, string Password) { User useraccess; var ace = new AccessControl(); useraccess = ace.Authenticate("TR", Username, Password); return(useraccess); }