public static List <SpGetDateWiseDetails_Result> GetData(DateWiseReportBLL obj) { List <SpGetDateWiseDetails_Result> StatusResult = null; using (var dbContext = new BSSDBEntities()) { var ReqData = dbContext.SpGetDateWiseDetails(obj.StartDate, obj.EndDate, obj.DealerID, obj.AccountId); StatusResult = ReqData.ToList(); } return(StatusResult); }