public CustomAccount login(string uname, string pwd) { CustomAccount useracctl = Custaccts.Find(u => u.Username.Equals(uname) && u.password.Equals(pwd)); return(useracctl); }
public CustomAccount finduseracct(string uname) { CustomAccount useracct = Custaccts.Find(u => u.Username.Equals(uname)); return(useracct); }