コード例 #1
0
ファイル: Admin.cs プロジェクト: veerumarch24/Site_Mang
 public List <Import_Items> Get_Import_Items(Int32 ID, string Action, Int32 DeletedBy)
 {
     if (Action == "Delete" || Action == "Delete1")
     {
         return(SqlHelpers.GetObjects <Import_Items>(Util.Env, CommandFactory.Get_Import_Items(ID, Action, DeletedBy), AdminObjectFactory.Delete_Import_Items_Factory));
     }
     else if (Action == "Edit" || Action == "Edit1")
     {
         return(SqlHelpers.GetObjects <Import_Items>(Util.Env, CommandFactory.Get_Import_Items(ID, Action, DeletedBy), AdminObjectFactory.Edit_Import_Items_Factory));
     }
     else
     {
         return(SqlHelpers.GetObjects <Import_Items>(Util.Env, CommandFactory.Get_Import_Items(ID, Action, DeletedBy), AdminObjectFactory.Get_Import_Items_Factory));
     }
 }