public int SaveRoldata(RoleMaster r) { int n = 0; try { IRoleMasterDA objRol = new RoleMasterDA(); n = Convert.ToInt32(objRol.SaveRoleMasterdataToDB(r)); } catch { } return(n); }
public int DeleteRoldata(RoleMaster r) { int n = 0; try { IRoleMasterDA objRol = new RoleMasterDA(); n = Convert.ToInt32(objRol.DeleteRoleMasterdata(r)); } catch (Exception ex) { } finally { } return(n); }