Esempio n. 1
0
 public List <Labour_Payments> Get_Labour_Payments(Int32 ID, string Action, Int32 DeletedBy)
 {
     if (Action == "Delete" || Action == "Delete1")
     {
         return(SqlHelpers.GetObjects <Labour_Payments>(Util.Env, CommandFactory.Get_Labour_Payments(ID, Action, DeletedBy), AdminObjectFactory.Delete_Labour_Payments_Factory));
     }
     else if (Action == "Edit" || Action == "Edit1")
     {
         return(SqlHelpers.GetObjects <Labour_Payments>(Util.Env, CommandFactory.Get_Labour_Payments(ID, Action, DeletedBy), AdminObjectFactory.Edit_Labour_Payments_Factory));
     }
     else
     {
         return(SqlHelpers.GetObjects <Labour_Payments>(Util.Env, CommandFactory.Get_Labour_Payments(ID, Action, DeletedBy), AdminObjectFactory.Get_Labour_Payments_Factory));
     }
 }