Esempio n. 1
0
        public async Task <ActionResult <Guid> > Create(OrderStatus status, CancellationToken ct = default)
        {
            status.AccountId = _userContext.AccountId;

            var id = await _orderStatusesService.CreateAsync(_userContext.UserId, status, ct);

            return(Created(nameof(Get), id));
        }