public ContentResult GetCourse(string shortname) { double lol = ctx.GetCourse(shortname); return(Content(JsonConvert.SerializeObject(lol), "application/json")); }