public ResourcesApiController(IResourcesCommand resourcesCommand, IResourcesQuery resourcesQuery, IPollsCommand pollsCommand, IPollsQuery pollsQuery) { _resourcesCommand = resourcesCommand; _resourcesQuery = resourcesQuery; _pollsCommand = pollsCommand; _pollsQuery = pollsQuery; ControllerNameOverride = "Resources"; }
public ResourcesController(IResumesQuery resumesQuery, ICandidatesQuery candidatesQuery, IMemberStatusQuery memberStatusQuery, IResourcesQuery resourcesQuery, IPollsQuery pollsQuery, IExecuteResourceSearchCommand executeResourceSearchCommand, IDisqusQuery disqusQuery) { _resumesQuery = resumesQuery; _candidatesQuery = candidatesQuery; _memberStatusQuery = memberStatusQuery; _resourcesQuery = resourcesQuery; _disqusQuery = disqusQuery; _executeResourceSearchCommand = executeResourceSearchCommand; _pollsQuery = pollsQuery; }