示例#1
0
 public static User GetUser(string user)
 {
     return(SingletonFactoryBL.GetBL().GetUsers().Find(item => item.Username == user));
 }
        public ForgotPasswordWindow()
        {
            InitializeComponent();

            bl = SingletonFactoryBL.GetBL();
        }
示例#3
0
 public static Host GetHost(int Id)
 {
     return(SingletonFactoryBL.GetBL().GetHosts().Find(item => item.HostKey == Id));
 }