Пример #1
0
        public ActionResult <SocialListVM> GetSocialList(string id)
        {
            var doc = _manager.Get(id);

            if (doc == null)
            {
                return(NotFound(new ErrorResponse(404, $"List with id {id} could not be found.")));
            }
            return(Ok(doc));
        }