public void ToArchive(int id) { var inquiry = repository.Get<Inquiry>(id); inquiry.Archived = true; repository.Save(inquiry); }