public async Task Should_Get_Client_By_Id() { var result = await _clientAppService.GetAsync(_testData.Client1Id); result.ShouldNotBeNull(); result.ClientId.ShouldBe("ClientId1"); result.AllowedCorsOrigins.ShouldContain("https://client1-origin.com"); }
public async Task Should_Get_Single_Client() { //Act var result = await _clientAppService.GetAsync(1); //Assert result.ShouldNotBeNull(); }
public async Task OnGetAsync() { var clientDto = await _clientAppService.GetAsync(Id); ClientUpdateDto = ObjectMapper.Map <ClientDto, ClientCreateUpdateWebDto>(clientDto); }
public virtual Task <ClientDto> GetAsync(Guid id) { return(_clientAppService.GetAsync(id)); }