public void DeleteBatch(List <Guid> ids) { DeleteCache(ids); user_delete_deleteuser_normal delobj = new user_delete_deleteuser_normal(_queueService.ExchangeName, ids); _queueService.PublishTopic(delobj); }
public void Delete(Guid id) { if (id == null || default(Guid).Equals(id)) { return; } List <Guid> ids = new List <Guid>(1); ids.Add(id); DeleteCache(ids); user_delete_deleteuser_normal delobj = new user_delete_deleteuser_normal(_queueService.ExchangeName, ids); _queueService.PublishTopic(delobj); }