public IHttpActionResult Get() { var list = subjectRepo.Get(); if (list != null && list.Count() > 0) { return(Ok(list)); } return(NotFound()); }