public async Task GetAsync()
        {
            // Act
            var result = await _organizationAppService.GetAsync(Guid.Parse("8895847e-95d9-4f87-bbaa-41a03fe5cfa2"));

            // Assert
            result.ShouldNotBeNull();
            result.Id.ShouldBe(Guid.Parse("8895847e-95d9-4f87-bbaa-41a03fe5cfa2"));
        }
Esempio n. 2
0
 public Task <OrganizationDto> GetAsync(Guid id)
 {
     return(_orgAppSvc.GetAsync(id));
 }
        public async Task OnGetAsync()
        {
            var organization = await _organizationAppService.GetAsync(Id);

            Organization = ObjectMapper.Map <OrganizationDto, OrganizationUpdateDto>(organization);
        }
 public Task <OrganizationDto> GetAsync(Guid id)
 {
     return(_abpOrganizationAppService.GetAsync(id));
 }