Пример #1
0
        public IHttpActionResult Post(Class cls)
        {
            var item = classRepo.Post(cls);

            if (item != null)
            {
                return(Ok(item));
            }
            return(NotFound());
        }