public bool ChangePassWordSV(AccountModel obj) { bool result = false; try { var sp_result = db.ChangePasswordSV(obj.UserName, obj.PasswordOld, obj.PasswordNew); if (sp_result.FirstOrDefault().Updated == 1) result = true; } catch (Exception ex) { throw ex; } return result; }