예제 #1
0
        public int CalculateFantasyPoints(Models.PlayerProjection projection)
        {
            var points = 0;

            points += CalculateTDPoints(projection.PassingTDs);
            points += CalculateYardagePoints(projection.PassingYards, 25);
            points += CalculateTDPoints(projection.RushingTDs);
            points += CalculateYardagePoints(projection.RushingYards, 10);
            points += CalculateTDPoints(projection.ReceivingTDs);
            points += CalculateYardagePoints(projection.ReceivingYards, 10);
            return(points);
        }
예제 #2
0
 public JsonResult UnDraft(Models.PlayerProjection player, DraftOrderModel draftPick)
 {
     return(Json(null));
 }