Пример #1
0
        public async Task <IActionResult> GetCallById(string id)
        {
            var Call = await _callRepository.GetCall(id);

            if (Call == null)
            {
                return(new NotFoundResult());
            }
            return(new ObjectResult(Call));
        }