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

            // Assert
            result.Id.ShouldBe(Guid.Parse("d772238a-9871-47d7-84d5-c45083799954"));
            result.Name.ShouldBe("Snooker Club 1");
        }
Exemplo n.º 2
0
 public virtual Task <ClubDto> GetClubAsync(Guid id)
 {
     return(_playersAppService.GetClubAsync(id));
 }