public static List <spGetMasterReportData_Result> GetMasterReport(DateTime datefrom, DateTime dateTo) { using (var context = new SalesReturndbEntities()) { var dataobj = context.spGetMasterReportData(datefrom, dateTo).ToList(); return(dataobj); } }
public static List <spGetMasterReportData_Result> GetMasterReport(DateTime datefrom, DateTime dateTo) { using (var context = new SalesReturndbEntities()) { var dataobj = context.spGetMasterReportData(datefrom, dateTo).ToList(); return(dataobj); } }