public Assignment Edit(string id, Assignment ass) { Assignments.FindOneAndReplace(assignment => assignment.Id == id, ass); return(ass); // hee hee }