Beispiel #1
0
        public IHttpActionResult GetAttribute(int id)
        {
            var attrib = _attributesDb.GetById(id);

            if (null == attrib)
            {
                return(NotFound());
            }

            return(Ok(_contributionsDb.CreateViewModel(attrib)));
        }