public List <V_MaterialInventoryModel> GetModels(V_MaterialInventoryQueryModel ObjQueryModel, SqlTransaction Transaction) { List <V_MaterialInventoryModel> list; try { list = new V_MaterialInventoryDAL(Transaction).Select(ObjQueryModel); } catch (Exception exception) { throw exception; } return(list); }
public List <V_MaterialInventoryModel> GetModels(SqlConnection Connection) { List <V_MaterialInventoryModel> list; try { list = new V_MaterialInventoryDAL(Connection).Select(); } catch (Exception exception) { throw exception; } return(list); }