public PersonUserProfileViewModel(
     PersonUserService personUserService,
     UniversalCRUDService <UserModel> userCrudService,
     UniversalCRUDService <PersonUserModel> personUserCrudService
     )
 {
     _personUserService     = personUserService;
     _userCrudService       = userCrudService;
     _personUserCrudService = personUserCrudService;
 }
Example #2
0
 public ServiceUserProfileViewModel(
     ServiceUserService serviceUserService,
     UniversalCRUDService <UserModel> userCrudService,
     UniversalCRUDService <ServiceUserModel> serviceUserCrudService
     )
 {
     _serviceUserService     = serviceUserService;
     _userCrudService        = userCrudService;
     _serviceUserCrudService = serviceUserCrudService;
 }
Example #3
0
 public VehicleViewModel(
     IEventAggregator eventAggregator,
     VehicleModel vehicle,
     VehicleService vehicleService,
     UniversalCRUDService <VehicleModel> vehicleCrudService,
     UniversalCRUDService <VehicleSpecificationModel> vehicleSpecificationCrudService,
     UniversalCRUDService <SaleListingModel> saleListingCrudService)
 {
     _eventAggregator    = eventAggregator;
     _vehicle            = vehicle;
     _vehicleService     = vehicleService;
     _vehicleCrudService = vehicleCrudService;
     _vehicleSpecificationCrudService = vehicleSpecificationCrudService;
     _saleListingCrudService          = saleListingCrudService;
 }
 public RegisterServiceViewModel(IEventAggregator eventAggregator, UniversalCRUDService <ServiceUserModel> serviceUserService)
 {
     _eventAggregator    = eventAggregator;
     _serviceUserService = serviceUserService;
 }
 public RegisterPersonViewModel(IEventAggregator eventAggregator, UniversalCRUDService <PersonUserModel> personUserCrudService)
 {
     _eventAggregator       = eventAggregator;
     _personUserCrudService = personUserCrudService;
 }