public int InsertUserRole(clsUserRole ccm) { try { dataProvider.ExecuteNonQuery("usp_InsertUserRole", ccm.UserRoleName, ccm.UserRoleAbbr, ccm.UserRoleDesc, ccm.PortalId, ccm.CreatedById, ccm.ModifiedById); } catch (Exception ex) { Exceptions.LogException(ex); } return(0); }
public int UpdateUserRole(clsUserRole ccm) { int i = 0; try { dataProvider.ExecuteNonQuery("usp_UpdateUserRole", ccm.UserRoleId, ccm.UserRoleName, ccm.UserRoleAbbr, ccm.UserRoleDesc, ccm.PortalId, ccm.ModifiedById); return(i); } catch (Exception ex) { Exceptions.LogException(ex); } return(i); }