Пример #1
0
        public async Task <ActionResult> GetNotAprooveNewById(int newsId)
        {
            var result = await moderatorService.GetNotAprooveNewById(newsId);

            if (result == null)
            {
                return(NotFound());
            }
            return(Ok(result));
        }