public RegisterServiceFromProviderCommand( ICheckUserIsAdminQuery checkUserIsAdminQuery, ICheckUserIsProviderQuery checkUserIsProvider, IConfiguration configuration, IGetAllEmailServiceQuery getAllEmailServiceQuery, IGetByIdProviderServiceQuery getByIdProviderServiceQuery, IGetPermissionActionQuery getPermissionActionQuery, IHttpContextAccessor httpContextAccessor, IOptions <EmailConfigModel> config, IRepository <Model.Entities.ServiceModel.ProviderServiceModel.ProviderService, int> providerServiceRepository, IRepository <Provider, Guid> providerRepository, IRepository <Service, Guid> postServiceRepository, IRepository <Tag, Guid> tagServiceRepository, UserManager <AppUser> userManager) { _checkUserIsAdminQuery = checkUserIsAdminQuery; _checkUserIsProvider = checkUserIsProvider; _configuration = configuration; _getAllEmailServiceQuery = getAllEmailServiceQuery; _getByIdProviderServiceQuery = getByIdProviderServiceQuery; _getPermissionActionQuery = getPermissionActionQuery; _httpContextAccessor = httpContextAccessor; _config = config; _providerServiceRepository = providerServiceRepository; _providerRepository = providerRepository; _postServiceRepository = postServiceRepository; _tagServiceRepository = tagServiceRepository; _userManager = userManager; }
public GetAllPagingProviderNewsServiceQuery( IRepository <ProviderNew, int> providerNewRepository, IHttpContextAccessor httpContextAccessor, IGetByIdProviderServiceQuery getByIdProviderServiceQuery) { _providerNewRepository = providerNewRepository; _httpContextAccessor = httpContextAccessor; _getByIdProviderServiceQuery = getByIdProviderServiceQuery; }
public ProviderController(IApproveProviderServiceCommand approveProviderServiceCommand, IDeleteProviderServiceCommand deleteProviderServiceCommand, IRegisterProviderServiceCommand registerProviderServiceCommand, IRejectProviderServiceCommand rejectProviderServiceCommand, IGetAllPagingProviderServiceQuery getAllPagingProviderServiceQuery, IGetAllProviderofUserServiceQuery getAllProviderofUserServiceQuery, IGetByIdProviderServiceQuery getByIdProviderServiceQuery, IUpdateProviderServiceCommand updateProviderServiceCommand, ICheckUserIsProviderQuery checkUserIsProviderQuery, IConfirmProviderService confirmProviderService) { _approveProviderServiceCommand = approveProviderServiceCommand; _deleteProviderServiceCommand = deleteProviderServiceCommand; _registerProviderServiceCommand = registerProviderServiceCommand; _rejectProviderServiceCommand = rejectProviderServiceCommand; _getAllPagingProviderServiceQuery = getAllPagingProviderServiceQuery; _getAllProviderofUserServiceQuery = getAllProviderofUserServiceQuery; _getByIdProviderServiceQuery = getByIdProviderServiceQuery; _checkUserIsProviderQuery = checkUserIsProviderQuery; _updateProviderServiceCommand = updateProviderServiceCommand; _confirmProviderService = confirmProviderService; }