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