Example #1
0
        private void SetSquad(ObjectId userId)
        {
            int count   = 1;
            var sSquads = _squadService.GetAllStatic().ToDictionary(x => count++, x => x);

            for (int i = 0; i < 6; i++)
            {
                for (int j = 1; j <= 3; j++)
                {
                    _squadService.Create(userId, sSquads[j]);
                }
            }
        }