Пример #1
0
        public IActionResult GetById(int id)
        {
            var currentAction = _actionService.GetByActionId(id);

            return(new OkObjectResult(currentAction));
        }
Пример #2
0
        public async Task <IActionResult> GetById(int id)
        {
            var currentAction = await _actionService.GetByActionId(id);

            return(new OkObjectResult(currentAction));
        }