public async Task DeleteAsync()
        {
            // Act
            await _organizationAppService.DeleteAsync(Guid.Parse("d23b946e-4d38-458b-8e7f-ceff522131f8"));

            // Assert
            var result = await _organizationRepository.FindAsync(c => c.Id == Guid.Parse("d23b946e-4d38-458b-8e7f-ceff522131f8"));

            result.ShouldBeNull();
        }
Esempio n. 2
0
        public ActionResult Delete(long Id)
        {
            var res = _organizationAppService.DeleteAsync(Id);

            return(Json(new { status = "ok" }));
        }
Esempio n. 3
0
 public Task DeleteAsync(Guid id)
 {
     return(_orgAppSvc.DeleteAsync(id));
 }
 public Task DeleteAsync(Guid id)
 {
     return(_abpOrganizationAppService.DeleteAsync(id));
 }