Пример #1
0
        public async Task <IActionResult> Get([FromRoute] int id)
        {
            var operationResult = await wishService.GetAsync(id, this.HttpContext.User.SubjectId());

            return(operationResult.Status == OperationStatus.SUCCESS? Ok(operationResult) : NotFound(operationResult));
        }