Example #1
0
        public decimal CalculationSincler(ContestantCompetition contestandCompetition, Attempt attempt)
        {
            var weight = contestandCompetition.Weight;

            // a tu co sie dzieje ?

            return(1);
        }
 public async Task <int> DeleteContestantCompetitionAsync(ContestantCompetition contestandCompetition)
 {
     dbContext.ContestantCompetitions.Remove(contestandCompetition);
     return(await dbContext.SaveChangesAsync());
 }
 public async Task AddConstestandCompetitionAsync(ContestantCompetition contestantCompetition)
 {
     await dbContext.ContestantCompetitions.AddAsync(contestantCompetition);
 }