public IEnumerable <AstDailyStatus> BstwiseReport(string loanType, string rmCode, string areaCode, string branchCode, string todate, AppSession session) { try { return(reportRepository.BstwiseReport(loanType, rmCode, areaCode, branchCode, todate, session.User.user_id)); } catch (Exception ex) { Logging.WriteToErrLog(session.User.StationIp, session.User.user_id, "ReportManager-BstwiseReport", ex.Message + "|" + ex.StackTrace.TrimStart()); return(null); } }