//[AdminAuthorization]
        public IHttpActionResult GetSection([FromUri] int id, [FromUri] int id2)
        {
            Section s = secrepo.GetSectionByClass(id, id2);

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

            s.HyperLinks.Add(new HyperLink()
            {
                HRef = "http://localhost:44347/api/admins/classes/" + s.classid + "/sections/" + s.sectionid, HttpMethod = "GET", Relation = "Self"
            });
            s.HyperLinks.Add(new HyperLink()
            {
                HRef = "http://localhost:44347/api/admins/classes/" + s.classid + "/sections/", HttpMethod = "POST", Relation = "Create Section"
            });
            s.HyperLinks.Add(new HyperLink()
            {
                HRef = "http://localhost:44347/api/admins/classes/" + s.classid + "/sections/" + s.sectionid, HttpMethod = "PUT", Relation = "Edit Section"
            });
            s.HyperLinks.Add(new HyperLink()
            {
                HRef = "http://localhost:44347/api/admins/classes/" + s.classid + "/sections/" + s.sectionid, HttpMethod = "DELETE", Relation = "Delete Section"
            });


            return(Ok(s));
        }