Ejemplo n.º 1
0
 public List <PO_Items> Get_PO_Items(Int32 ID, string Action, Int32 DeletedBy)
 {
     if (Action == "Delete" || Action == "Delete1")
     {
         return(SqlHelpers.GetObjects <PO_Items>(Util.Env, CommandFactory.Get_PO_Items(ID, Action, DeletedBy), AdminObjectFactory.Delete_PO_Items_Factory));
     }
     else if (Action == "Edit" || Action == "Edit1")
     {
         return(SqlHelpers.GetObjects <PO_Items>(Util.Env, CommandFactory.Get_PO_Items(ID, Action, DeletedBy), AdminObjectFactory.Edit_PO_Items_Factory));
     }
     else
     {
         return(SqlHelpers.GetObjects <PO_Items>(Util.Env, CommandFactory.Get_PO_Items(ID, Action, DeletedBy), AdminObjectFactory.Get_PO_Items_Factory));
     }
 }