This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public class PlatformService : IPlatformService | |
| { | |
| public PlatformService() | |
| { | |
| } | |
| public string GetCurrentIP() | |
| { | |
| String ipAddress = ""; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public class DataService : IDataService | |
| { | |
| private IApiService _apiService; | |
| private IDatabaseService _dbService; | |
| public DataService() | |
| { | |
| _apiService = App.Instance.Container.Resolve<IApiService>(); | |
| _dbService = App.Instance.Container.Resolve<IDatabaseService>(); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public class ForgotPasswordViewModel : ViewModelBase<ForgotPasswordViewModel> | |
| { | |
| public ForgotPasswordViewModel() | |
| { | |
| Title = "Forgot password?"; | |
| } | |
| public async Task ChangePasswordAsync(string newPassword, string confirmPassword) | |
| { | |
| AppInteractiveService.Progress(); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public abstract class ViewModelBase<T> where T : ViewModelBase<T>, new() | |
| { | |
| public ILoggerService LoggerService { get; private set; } | |
| public ILocalizationService LocalizationService { get; private set; } | |
| public IDataService DataService { get; private set; } | |
| public IAppInteractiveService AppInteractiveService { get; private set; } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public interface IResultWrapper | |
| { | |
| bool Success { get; set; } | |
| ResultError Error { get; set; } | |
| } | |
| public interface IResultWrapper<T> : IResultWrapper | |
| { | |
| T Data { get; set; } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public class LocalizationService : ILocalizationService | |
| { | |
| public CultureInfo CurrentCulture { get; set; } | |
| private ResourceManager _manager; | |
| public LocalizationService() | |
| { | |
| CurrentCulture = CultureInfo.InvariantCulture; |