Пример #1
0
 /// <summary>
 /// Delete Batch by ids
 /// </summary>
 /// <param name="ids"></param>
 /// <returns></returns>
 public bool DeleteBatch(List <Guid> ids)
 {
     try
     {
         _repository.Delete(it => ids.Contains(it.ID));
         return(true);
     }
     catch (Exception ex)
     {
         _log.LogError("MailConfigAppService DeleteBatch error occured:" + ex.Message);
         return(false);
     }
 }