Exemplo n.º 1
0
 public GetHospital(ICrudProvider providerCud, PgVM pgVM)
 {
     ProviderCud        = providerCud;
     Pagination         = pgVM;
     AllProviders       = new ObservableCollection <Provider>();
     DisplayedProviders = new ObservableCollection <Provider>();
     SearchedProviders  = new ObservableCollection <Provider>();
     GetAllProviders();
 }
Exemplo n.º 2
0
 public static bool TryToStore(this Exception ex, ICrudProvider storage, object source)
 {
     try
     {
         return (storage != null && storage.Create(new ExceptionEntry(source, ex)) == 1);
     }
     catch
     {
         return false;
     }
 }
Exemplo n.º 3
0
 public static bool TryToStore(this Exception ex, ICrudProvider storage, object source)
 {
     try
     {
         return(storage != null && storage.Create(new ExceptionEntry(source, ex)) == 1);
     }
     catch
     {
         return(false);
     }
 }
 public ProductCommandService(ICrudPermissions <Product, int> permissions, ICrudProvider <Product, ProductDto, int> crudProvider, IObjectMapper objectMapper, IAuthorizationProvider authorizationProvider) : base(permissions, crudProvider, objectMapper, authorizationProvider)
 {
 }
Exemplo n.º 5
0
 public AccountsController(ICrudProvider crudProvider, ILogger <AccountsController> logger)
 {
     this.crudProvider = crudProvider;
     this.logger       = logger;
 }
Exemplo n.º 6
0
 public StoreBatteryData(IBattery battery, ICrudProvider db)
 {
     this.battery = battery;
     this.db = db;
 }
 protected UniversityEditPortalModuleBase(string key, ICrudProvider <TEntity> crudProvider) : base(key, crudProvider)
 {
 }
Exemplo n.º 8
0
 public StoreLocationChange(ILocationMonitor locationMonitor, ICrudProvider db)
 {
     this.locationMonitor = locationMonitor;
     this.db = db;
 }
Exemplo n.º 9
0
 public DatabaseLog(ICrudProvider db)
 {
     this.db = db;
 }
Exemplo n.º 10
0
 public UpdateProvider(ICrudProvider prcrud)
 {
     _prcrud = prcrud;
 }
Exemplo n.º 11
0
 public TasksController(ICrudProvider crud, ILogger <TasksController> logger)
 {
     this.crud   = crud;
     this.logger = logger;
 }
Exemplo n.º 12
0
 public StoreAccelerometerData(IAccelerometer accelerometer, ICrudProvider crud)
 {
     this.meter = accelerometer;
     this.crud  = crud;
 }
Exemplo n.º 13
0
 public StoreAccelerometerData(IAccelerometer accelerometer, ICrudProvider crud)
 {
     this.meter = accelerometer;
     this.crud = crud;
 }
Exemplo n.º 14
0
 public StoreBatteryData(IBattery battery, ICrudProvider db)
 {
     this.battery = battery;
     this.db      = db;
 }
Exemplo n.º 15
0
 public StoreLocationChange(ILocationMonitor locationMonitor, ICrudProvider db)
 {
     this.locationMonitor = locationMonitor;
     this.db = db;
 }