Ejemplo n.º 1
0
        public DeleteTenantResponse Delete(DeleteTenant request)
        {
            Db.DeleteById <TenantData>(request.Id);

            _bus.Publish <TenantDeletedEvent>(new TenantDeletedEvent {
                Id = request.Id
            });

            return(new DeleteTenantResponse());
        }
Ejemplo n.º 2
0
 public void Any(DeleteTenant request)
 {
     Repository.Delete <Tenant>(request.D_Tenant_Id);
 }