protected override void Save() { LoanUOW mgr = new LoanUOW(); if (IsValid) { if (Mode == "Add") { //Add Data to DB mgr.Insert(Entity); } else { mgr.Update(Entity); } ValidationErrors = mgr.validationError; } base.Save(); }