public static int UpdateStrongPushAD(LoginRegisterDataView model) { StrongPushAD ad = GetStrongPushAD(model); if (ad == null) { return(StrongPushADDAL.AddStrongPushAD(model)); } else { return(StrongPushADDAL.UpdateStrongPushAD(model)); } }
public static int AddStrongPushAD(LoginRegisterDataView model) { return(StrongPushADDAL.AddStrongPushAD(model)); }