public List <EstimatedDyedMain_Result> GetEstimatedDyeingListAcc(string brand, int brandSection, string season, DateTime?fromDate, DateTime?toDate, out List <DyeingColorQuantitiesRequired_Result> ColorsValues) { using (var entities = new WorkFlowManagerDBEntities()) { var getDyeingList = (from s in entities.EstimatedDyedMainAcc(brand, brandSection, season, fromDate, toDate) orderby s.SalesOrderID select s).ToList(); ColorsValues = (from s in entities.DyeingColorQuantitiesRequiredacc(brand, brandSection, season, fromDate, toDate) select s).ToList(); return(getDyeingList); } }