// HINT: For step 2 you'll need to add a new parameter so you can set a value for the // QueryResults collection in Query public Query SaveQuery(string queryText, DateTime time) { var q = new Query() { QueryText = queryText, Time = time }; context.Queries.Create(q); context.SaveChanges(); return q; }