コード例 #1
0
        internal static MatchReportDto GetMatchReportDTO(MatchReport matchreport)
        {
            MatchReportDto dto = new MatchReportDto
            {
                Id     = matchreport.Id,
                Date   = matchreport.Date,
                Title  = matchreport.Title,
                Report = matchreport.Report,
                UserId = matchreport.UserId
            };

            return(dto);
        }
コード例 #2
0
 public void AddMatchReport(MatchReport matchreport)
 {
     MatchreportCollectionDAL.AddMatchReport(DTOConverter.GetMatchReportDTO(matchreport));
 }
コード例 #3
0
 //Begin van de Methodes aanroepen
 public void DeleteMatchReport(MatchReport matchReport)
 {
     throw new NotImplementedException();
 }