public static User GetUser(string user) { return(SingletonFactoryBL.GetBL().GetUsers().Find(item => item.Username == user)); }
public ForgotPasswordWindow() { InitializeComponent(); bl = SingletonFactoryBL.GetBL(); }
public static Host GetHost(int Id) { return(SingletonFactoryBL.GetBL().GetHosts().Find(item => item.HostKey == Id)); }