namespace MobileApp1.Services { public class CorporationService : ICorporationService { public CorporationService() { } public string DisplayName { get; set; } = ""; public bool IsLoggedIn { get; set; } = false; public string AuthToken { get; set; } = ""; public ServiceResult Login(string username, string password) { this.DisplayName = username; this.IsLoggedIn = true; return ServiceResult.Create(true, "Logged In"); } public ServiceResult Logout() { this.DisplayName = string.Empty; this.IsLoggedIn = false; return ServiceResult.Create(true, "Logged Out"); } public ServiceResult RequestPasswordReset(string username) { this.DisplayName = string.Empty; this.IsLoggedIn = false; return ServiceResult.Create(true, "Password Reset Requested"); } public WelcomePackResult RetrieveWelcomePack() { System.Threading.Thread.Sleep(1000); return new WelcomePackResult() { IsSuccess = true, Message = "", MessagesCount = 0, NoticesCount = 0 }; } } }