Пример #1
0
 /// <summary>
 /// Gets the user mission sets.
 /// </summary>
 /// <returns>Task{IEnumerable{UserMissionSet}}.</returns>
 public async Task <IEnumerable <UserMissionSet> > GetMissionSets()
 {
     return(await _missionService.GetActiveMissionSets(this.GetCurrentUserId()));
 }
Пример #2
0
        public async Task Get_All_MissionSets()
        {
            var result = await _service.GetActiveMissionSets("User1Id");

            Assert.AreEqual(result.Count(), 2);
        }