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(); }
public ActionResult Delete(long Id) { var res = _organizationAppService.DeleteAsync(Id); return(Json(new { status = "ok" })); }
public Task DeleteAsync(Guid id) { return(_orgAppSvc.DeleteAsync(id)); }
public Task DeleteAsync(Guid id) { return(_abpOrganizationAppService.DeleteAsync(id)); }