public void Add(Participation participate)
 {
     _participates.Add(participate);
 }
        public async Task RejectParticipation(int userId, int competitionSportId)
        {
            var participationId =
                await
                    _participates.Where(
                        p => p.PresentedSportId == competitionSportId && p.RepresentativeUserId == userId)
                        .Select(p => p.Id)
                        .SingleAsync();

            var participation = new Participation() { Id = participationId, IsApproved = false };

            _participates.Attach(participation);

            _dbContext.Entry(participation).Property(p => p.IsApproved).IsModified = true;
        }