public IHttpActionResult GetClassid(string id)
        {
            Class          C = ass_s_repo.GetClass(id);
            List <Subject> S = subrepo.GetSubjectsByClass(C.classid);

            return(Ok(S));
        }
        //[AdminAuthorization]
        public IHttpActionResult GetSubjects([FromUri] int id)
        {
            List <Subject> s = subrepo.GetSubjectsByClass(id);

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