public void TestPersitTempaltes() { try { _service.PersistTemplates(); } catch (Exception ex) { Assert.Fail("Expected no exception, but got: " + ex.Message); } }
private void FormMain_FormClosing(object sender, FormClosingEventArgs e) { WrapVoid(() => _service.PersistTemplates()); }