Ejemplo n.º 1
0
        public async Task <bool> Remove(string id)
        {
            await _partners.DeleteOneAsync(x => x.Id == id);

            _publisher.PublishDeletedPartner(new DeletedPartner()
            {
                Id = id
            });
            return(true);
        }