//[AdminAuthorization]
        public IHttpActionResult GetSections([FromUri] int id)
        {
            List <Section> s = secrepo.GetSectionsByClass(id);

            if (s == null)
            {
                return(StatusCode(HttpStatusCode.NoContent));
            }
            return(Ok(s));
        }