Esempio n. 1
0
 public List <Bankers> Get_Bankers(Int32 ID, string Action, Int32 DeletedBy)
 {
     if (Action == "Delete" || Action == "Delete1")
     {
         return(SqlHelpers.GetObjects <Bankers>(Util.Env, CommandFactory.Get_Bankers(ID, Action, DeletedBy), AdminObjectFactory.Delete_Bankers_Factory));
     }
     else if (Action == "Edit" || Action == "Edit1")
     {
         return(SqlHelpers.GetObjects <Bankers>(Util.Env, CommandFactory.Get_Bankers(ID, Action, DeletedBy), AdminObjectFactory.Edit_Bankers_Factory));
     }
     else
     {
         return(SqlHelpers.GetObjects <Bankers>(Util.Env, CommandFactory.Get_Bankers(ID, Action, DeletedBy), AdminObjectFactory.Get_Bankers_Factory));
     }
 }