Exemple #1
0
 public List <Req_Money> Get_Req_Money(Int32 ID, string Action, Int32 DeletedBy)
 {
     if (Action == "Delete" || Action == "Delete1")
     {
         return(SqlHelpers.GetObjects <Req_Money>(Util.Env, CommandFactory.Get_Req_Money(ID, Action, DeletedBy), AdminObjectFactory.Delete_Req_Money_Factory));
     }
     else if (Action == "Edit" || Action == "Edit1")
     {
         return(SqlHelpers.GetObjects <Req_Money>(Util.Env, CommandFactory.Get_Req_Money(ID, Action, DeletedBy), AdminObjectFactory.Edit_Req_Money_Factory));
     }
     else
     {
         return(SqlHelpers.GetObjects <Req_Money>(Util.Env, CommandFactory.Get_Req_Money(ID, Action, DeletedBy), AdminObjectFactory.Get_Req_Money_Factory));
     }
 }