示例#1
0
 public int UpdateCompetitionTeam(clsCompetitionTeam ct)
 {
     try
     {
         dataProvider.ExecuteNonQuery("usp_UpdateCompetitionTeam", ct.CompetitionTeamId, ct.CompetitionId, ct.CompetitionGroupId, ct.TeamId);
     }
     catch (Exception ex)
     {
         Exceptions.LogException(ex);
     }
     return(0);
 }
示例#2
0
 public int InsertCompetitionTeam(clsCompetitionTeam ct)
 {
     try
     {
         dataProvider.ExecuteNonQuery("usp_InsertCompetitionTeam", ct.CompetitionId, ct.CompetitionGroupId, ct.TeamId, ct.CreatedById, ct.ModifiedById);
     }
     catch (Exception ex)
     {
         Exceptions.LogException(ex);
     }
     return(0);
 }