Example #1
0
 public int UpdateMatchResult(clsMatchResult mr)
 {
     try
     {
         dataProvider.ExecuteNonQuery("[usp_UpdateMatchResult]", mr.MatchResultID, mr.MatchID, mr.TeamATotal, mr.TeamBTotal, mr.Descr, mr.PortalID, mr.CreatedBy, mr.WinningTeam, mr.LosingTeam, mr.DrawTeam, mr.ModifyBy, mr.IsPanlty, mr.TeamApanlty, mr.TeamBpanlty, mr.isNoShow, mr.TossWinningTeam, mr.NoShowPenaltyPoint);
     }
     catch (Exception ex)
     {
         Exceptions.LogException(ex);
     }
     return(0);
 }
Example #2
0
 public int InsertMatchResultPlayerPerformance(clsMatchResult mr)
 {
     try
     {
         dataProvider.ExecuteNonQuery("usp_InsertMatchResultPlayerPerformance", mr.CompetitionID, mr.MatchID, mr.PlayerID, mr.Goal, mr.Assist, mr.PortalID, mr.CreatedBy, mr.ModifyBy, mr.Yellow, mr.Red, mr.IsPlayed, mr.TeamID);
     }
     catch (Exception ex)
     {
         Exceptions.LogException(ex);
     }
     return(0);
 }