protected JsonApiCommandController(
     IJsonApiOptions jsonApiOptions,
     ILoggerFactory loggerFactory,
     IResourceCommandService <T, int> commandService)
     : base(jsonApiOptions, loggerFactory, commandService)
 {
 }
Beispiel #2
0
 /// <inheritdoc />
 protected JsonApiCommandController(
     IJsonApiOptions options,
     ILoggerFactory loggerFactory,
     IResourceCommandService <TResource, TId> commandService)
     : base(options, loggerFactory, null, commandService)
 {
 }
 /// <summary>
 /// Creates an instance from separate services for reading and writing.
 /// </summary>
 protected BaseJsonApiController(
     IJsonApiOptions options,
     ILoggerFactory loggerFactory,
     IResourceQueryService <TResource, TId> queryService     = null,
     IResourceCommandService <TResource, TId> commandService = null)
     : this(options, loggerFactory, queryService, queryService, queryService, queryService, commandService,
            commandService, commandService, commandService, commandService, commandService)
 {
 }