Example #1
0
        public IHttpActionResult GetActive()
        {
            var list = classRepo.GetActive();

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