コード例 #1
0
 public GetAllPagingPostServiceQuery(
     IGetAllAsyncCategoryServiceQuery getAllAsyncCategoryServiceQuery,
     IRepository <CityProvince, int> locationRepository,
     IRepository <Model.Entities.ServiceModel.ProviderServiceModel.ProviderService, int> providerServiceRepository,
     IRepository <Model.Entities.ServiceModel.TagService, int> tagServiceRepository,
     IRepository <Model.Entities.ServiceModel.UserServiceModel.UserService, int> userServiceRepository,
     IRepository <Provider, Guid> providerRepository,
     IRepository <Service, Guid> serviceRepository,
     IRepository <ServiceRating, int> ratingRepository,
     IRepository <ServiceImage, int> imageRepository,
     IRepository <Tag, Guid> tagRepository,
     UserManager <AppUser> userManager,
     IGetAvtInformationQuery getAvtInformationQuery,
     IGetListTagInformationQuery getListTagInformationQuery,
     IGetProviderInformationQuery getProviderInformationQuery,
     IGetServiceRatingQuery getServiceRatingQuery,
     IGetUserInformationQuery getUserInformationQuery)
 {
     _getAllAsyncCategoryServiceQuery = getAllAsyncCategoryServiceQuery;
     _locationRepository        = locationRepository;
     _providerRepository        = providerRepository;
     _providerServiceRepository = providerServiceRepository;
     _ratingRepository          = ratingRepository;
     _serviceRepository         = serviceRepository;
     _tagRepository             = tagRepository;
     _imageRepository           = imageRepository;
     _tagServiceRepository      = tagServiceRepository;
     _userManager                 = userManager;
     _userServiceRepository       = userServiceRepository;
     _getAvtInformationQuery      = getAvtInformationQuery;
     _getListTagInformationQuery  = getListTagInformationQuery;
     _getProviderInformationQuery = getProviderInformationQuery;
     _getServiceRatingQuery       = getServiceRatingQuery;
     _getUserInformationQuery     = getUserInformationQuery;
 }
コード例 #2
0
 public GetPostServiceByIdQuery(
     IRepository <Service, Guid> serviceRepository,
     UserManager <AppUser> userManager,
     IHttpContextAccessor httpContext,
     IRepository <Tag, Guid> tagRepository,
     IRepository <Model.Entities.ServiceModel.TagService, int> tagServiceRepository,
     IRepository <ServiceImage, int> imageRepository,
     IGetByIDCategoryServiceQuery getByIDCategoryServiceQuery,
     IRepository <Model.Entities.ServiceModel.UserServiceModel.UserService, int> userServiceRepository,
     IRepository <Model.Entities.ServiceModel.ProviderServiceModel.ProviderService, int> providerServiceRepository,
     IRepository <Provider, Guid> providerRepository,
     IGetProviderInformationQuery getProviderInformationQuery,
     IGetUserInformationQuery getUserInformationQuery)
 {
     _serviceRepository           = serviceRepository;
     _userManager                 = userManager;
     _httpContext                 = httpContext;
     _tagRepository               = tagRepository;
     _tagServiceRepository        = tagServiceRepository;
     _imageRepository             = imageRepository;
     _getByIDCategoryServiceQuery = getByIDCategoryServiceQuery;
     _userServiceRepository       = userServiceRepository;
     _providerServiceRepository   = providerServiceRepository;
     _providerRepository          = providerRepository;
     _getProviderInformationQuery = getProviderInformationQuery;
     _getUserInformationQuery     = getUserInformationQuery;
 }