public static bool CanLogin(string login, string password) { UsersManager myStorage = new UsersManager(); return(myStorage.CheckLoginAndPass(login, password)); }