Example #1
0
 public DocumentTypesViewModel()
 {
     instance         = this;
     this.apiService  = new ApiService();
     this.dataService = new DataService();
     this.LoadDocumentTypes();
     this.IsRefreshing = false;
 }
Example #2
0
 private static DocumentTypesViewModel instance; // Atributo
 public static DocumentTypesViewModel GetInstance()
 {
     if (instance == null)
     {
         instance = new DocumentTypesViewModel();
     }
     return(instance);
 }