public ApproveProviderServiceCommand( IHttpContextAccessor httpContextAccessor, IRepository <Provider, Guid> providerRepository, UserManager <AppUser> userRepository, ICheckUserIsProviderQuery checkUserIsProviderQuery, IGetAllEmailServiceQuery getAllEmailServiceQuery, IOptions <EmailConfigModel> config, IGetPostUserServiceByUserIdQuery getPostUserServiceByUserIdQuery, IDeleteServiceFromUserCommand deleteServiceFromUserCommand, ICheckUserIsAdminQuery checkUserIsAdminQuery, IGetPermissionActionQuery getPermissionActionQuery, IConfiguration configuration) { _httpContextAccessor = httpContextAccessor; _providerRepository = providerRepository; _userRepository = userRepository; _checkUserIsProviderQuery = checkUserIsProviderQuery; _getAllEmailServiceQuery = getAllEmailServiceQuery; _config = config; _getPostUserServiceByUserIdQuery = getPostUserServiceByUserIdQuery; _deleteServiceFromUserCommand = deleteServiceFromUserCommand; _checkUserIsAdminQuery = checkUserIsAdminQuery; _getPermissionActionQuery = getPermissionActionQuery; _configuration = configuration; }
public ServiceController( IApprovePostServiceCommand approvePostServiceCommand, IConfirmPostService confirmPostService, IDeleteServiceFromProviderCommand deleteServiceFromProviderCommand, IDeleteServiceFromUserCommand deleteServiceFromUserCommand, IFilterAllPagingPostServiceQuery filterAllPagingPostServiceQuery, IGetAllPagingPostServiceQuery getAllPagingPostServiceQuery, IGetAllPostUserServiceByUserIdQuery getAllPostUserServiceByUserIdQuery, IGetPostServiceByIdQuery getPostServiceByIdQuery, IRegisterServiceFromProviderCommand registerServiceFromProviderCommand, IRegisterServiceFromUserCommand registerServiceFromUserCommand, IRejectPostServiceCommand rejectPostServiceCommand, IUpdatePostServiceCommand updatePostServiceCommand, IFilterAllPagingLocationPostService filterAllPagingLocationPostService) { _approvePostServiceCommand = approvePostServiceCommand; _confirmPostService = confirmPostService; _deleteServiceFromProviderCommand = deleteServiceFromProviderCommand; _deleteServiceFromUserCommand = deleteServiceFromUserCommand; _filterAllPagingPostServiceQuery = filterAllPagingPostServiceQuery; _getAllPagingPostServiceQuery = getAllPagingPostServiceQuery; _getAllPostUserServiceByUserIdQuery = getAllPostUserServiceByUserIdQuery; _getPostServiceByIdQuery = getPostServiceByIdQuery; _registerServiceFromProviderCommand = registerServiceFromProviderCommand; _registerServiceFromUserCommand = registerServiceFromUserCommand; _rejectPostServiceCommand = rejectPostServiceCommand; _updatePostServiceCommand = updatePostServiceCommand; _filterAllPagingLocationPostService = filterAllPagingLocationPostService; }