Advertisement
Guest User

aopsd

a guest
Feb 13th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace UserLogin
  8. {
  9. static class UserData
  10. {
  11. static private User _testUser = new User();
  12. static public User TestUser
  13. {
  14. get
  15. {
  16. ResetTestUserData();
  17. return _testUser;
  18. }
  19. }
  20.  
  21.  
  22. static private void ResetTestUserData()
  23. {
  24. _testUser.username = "Petko Dechev";
  25. _testUser.password = "1234";
  26. _testUser.facNum = "121216137";
  27. _testUser.role = 1;
  28. }
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement