Esempio n. 1
0
        public IHttpActionResult Get()
        {
            var list = classRepo.Get();

            if (list != null && list.Count() > 0)
            {
                return(Ok(list));
            }
            return(NotFound());
        }