Exemple #1
0
 public void DeleteDictionary_Test()
 {
     UsingDbContextAsync(async context =>
     {
         var defaultDictionary = await context.Dictionary.FirstOrDefaultAsync();
         await _dictionaryAppService.Delete(new EntityDto <int>()
         {
             Id = defaultDictionary.Id
         });
         var Dictionary = context.Dictionary.FirstOrDefault(u => u.Id == defaultDictionary.Id);
         Dictionary.ShouldBeNull();
     });
 }
 public Task Delete(List <Guid> ids)
 {
     return(_dictionaryAppService.Delete(ids));
 }