protected override void Save() { base.Save(); var employee = PopulateEmployeeModelFromInterface(); using (var facade = new EmployeeCore()) { try { facade.Save(employee); ShowMessage(facade); } catch (Exception err) { ShowMessage(err); } } }
protected override void Save() { base.Save(); var employee = PopulateEmployeeModelFromInterface(); using(var facade = new EmployeeCore()) { try { facade.Save(employee); ShowMessage(facade); } catch (Exception err) { ShowMessage(err); } } }