public CardholdersVM(ICardholderService _cardholderService, IEmployeeService _empService, ITenantService _tenantService, IDinkeyDongleService _dongleService) : base(_service: _cardholderService, _dongleService: _dongleService) { empService = _empService; tenantService = _tenantService; AddCardholderCommand = new RelayCommand(OpenCardholderRegistrationPage); }
public EmployeeService(IHTTPService httpService, ICardholderService _cardholderService) : base(_httpService: httpService) { cardholderService = _cardholderService; getUrl = ApiEndpoints.FindEmployeeById; getAllUrl = ApiEndpoints.AllEmployees; updateUrl = ApiEndpoints.UpdateEmployee; createUrl = ApiEndpoints.CreateEmployee; deleteUrl = ApiEndpoints.DeleteEmployee; }
public TenantService(IHTTPService httpService, ICardholderService _cardholderService) : base(_httpService: httpService) { cardholderService = _cardholderService; getUrl = ApiEndpoints.FindTenantById; getAllUrl = ApiEndpoints.AllTenants; updateUrl = ApiEndpoints.UpdateTenant; createUrl = ApiEndpoints.CreateTenant; deleteUrl = ApiEndpoints.DeleteTenant; }
public DashboardVM(ICardService _cardService, ICardRequestService _cardRequests, ICardholderService _cardholderService, ICardReplacementService _cardReplacements, IPersonalizationRequestService _personalizationRequests) { cardService = _cardService; sCardRequests = _cardRequests; cardReplacements = _cardReplacements; cardholderService = _cardholderService; sPersonalization = _personalizationRequests; LoadAll().ConfigureAwait(false); }
public CardholderDetailsVM(ICardholderService service, IEmployeeService _empService, ITenantService _tenantService, ICardTypeService _cardTypeService, IDinkeyDongleService _dongleService) : base(_service: service, _dongleService: _dongleService) { empService = _empService; tenantService = _tenantService; cardTypeService = _cardTypeService; AddCardVisibility = true; AddCardCommand = new RelayCommand(OpenAddCardModal); AddVehicleCommand = new RelayCommand(OpenAddVehicleModal); AddParkingCommand = new RelayCommand(OpenAddParkingModal); AddBuildingCommand = new RelayCommand(OpenAddBuildingModal); SupplementaryCommand = new RelayCommand(ProcessSupplementary); }
public VerifyCardVM(ICardService _service, ICardholderService _cardholderService, ICardReaderService _cardReader, IDinkeyDongleService _dongleService) : base(_service: _service, _dongleService: _dongleService) { cardReader = _cardReader; cardholderService = _cardholderService; }