Beispiel #1
0
        public void StartInvestigation(int driverId, User user)
        {
            if (!this.IsUnderInvestigation)
            {
                this.IsUnderInvestigation   = true;
                this.StartInvestigationTime = DateTime.Now.ToUniversalTime();
                this.Result = PenaltyResult.Investigation();
            }
            if (!this.DriverIds.Contains(driverId))
            {
                this.DriverIds.Add(driverId);
            }

            this.JoinUser(user);
        }