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; }
public CategoryController(IAddCategoryServiceCommand addCategoryService, IDeleteCategoryServiceCommand deleteCategoryService, IGetAllAsyncCategoryServiceQuery getAllCategoryService, IGetAllPagingAsyncCategoryServiceQuery getAllPagingCategoryService, IGetByIDCategoryServiceQuery getByIdCategoryService, IUpdateCategoryServiceCommand updateCategoryService) { _addCategoryService = addCategoryService; _deleteCategoryService = deleteCategoryService; _getAllCategoryService = getAllCategoryService; _getAllPagingCategoryService = getAllPagingCategoryService; _getByIdCategoryService = getByIdCategoryService; _updateCategoryService = updateCategoryService; }