public void DeletePETiano(PETiano petiano) { using (IBusinessProvider provider = base.CreateBusinessProvider()) using (IPETianoBusinessProvider prov = provider.CreatePETianoBusinessProvider()) prov.DeletePETiano(petiano); }
public List <PETiano> GetPETianos(PETianoFilter petianoFilter = null) { using (IBusinessProvider provider = base.CreateBusinessProvider()) using (IPETianoBusinessProvider prov = provider.CreatePETianoBusinessProvider()) return(prov.GetPETianos(petianoFilter)); }