Beispiel #1
0
 public ResourcesApiController(IResourcesCommand resourcesCommand, IResourcesQuery resourcesQuery, IPollsCommand pollsCommand, IPollsQuery pollsQuery)
 {
     _resourcesCommand      = resourcesCommand;
     _resourcesQuery        = resourcesQuery;
     _pollsCommand          = pollsCommand;
     _pollsQuery            = pollsQuery;
     ControllerNameOverride = "Resources";
 }