Пример #1
0
        public async Task <IActionResult> ApproveReceive([FromRoute] int requestId)
        {
            var updated = await _requestService.ApproveReceiveAsync(requestId);

            if (!updated)
            {
                return(NotFound());
            }
            return(Ok());
        }