public ClientsController(IClientApplicationService service, IModelStateAccessor accessor) : base(accessor) { _service = service; }
public AddCartCommand(ICartRepository repository, IClientRepository clientRepository, IModelStateAccessor modelStateAccessor) { _cartRepository = repository; _clientRepository = clientRepository; _modelStateAccessor = modelStateAccessor; }
public AbstractController(IModelStateAccessor accessor) { accessor.ModelState = ModelState; }