public User getCurrentuser() { if (!GlobalProperties.isLoggedIn()) { return(null); } else { return new User() { Login = GlobalProperties.Login, Password = GlobalProperties.Password } }; }
public User getCurrentuser() { if (!GlobalProperties.isLoggedIn()) { return(null); } else { return new User() { Login = GlobalProperties.Login, Password = GlobalProperties.Password } }; }