Exemple #1
0
        public IHttpActionResult Get()
        {
            var list = subjectRepo.Get();

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