예제 #1
0
        public static domain.Result getResult(Request request)
        {
            domain.Participant participant = new domain.Participant();
            participant.Id = Convert.ToInt32(request.Result.ParticipantId);

            domain.Stage stage = new domain.Stage();
            stage.Id = Convert.ToInt32(request.Result.StageId);

            domain.Result result = new domain.Result(participant, stage, request.Result.Score);

            return(result);
        }
 public Result(Participant participant, Stage stage, double score)
 {
     Participant = participant;
     Stage       = stage;
     Score       = score;
 }