Esempio n. 1
0
        public async Task GetAsync()
        {
            // Act
            PlayerDto result = await _playersAppService.GetAsync(Guid.Parse("85ea0ccf-0fad-4c6f-b660-23e6004a777d"));

            // Assert
            result.ShouldNotBeNull();
            result.Id.ShouldBe(Guid.Parse("85ea0ccf-0fad-4c6f-b660-23e6004a777d"));
        }
Esempio n. 2
0
 public virtual Task <PlayerDto> GetAsync(Guid id)
 {
     return(_playersAppService.GetAsync(id));
 }