public UserController(ICommandBusAsync commandBus, IQueryBusAsync queryBus, IHttpContextAccessor accessor) { _commandBus = commandBus; _queryBus = queryBus; _accessor = accessor; }
public CoursesController(IQueryBusAsync queryBus, ICommandBusAsync commandBus) { _queryBus = queryBus; _commandBus = commandBus; }
public AuthorsController(IQueryBusAsync queryBus, ICommandBusAsync commandBus) { _queryBus = queryBus; _commandBus = commandBus; }
public UsersController(ICommandBusAsync commandBus, IQueryBusAsync queryBus) { _commandBus = commandBus; _queryBus = queryBus; }
public PhonesController(ICommandBusAsync commandBus, IQueryBusAsync queryBus) { this.commandBus = commandBus; this.queryBus = queryBus; }
public CqrsMediatorAsync(IQueryBusAsync queryBusAsync, ICommandBusAsync commandBusAsync) { _queryBusAsync = queryBusAsync; _commandBusAsync = commandBusAsync; }