public List <PeriodItem> CustomerStatementParameterLookup(string sqlConnectionString, int buildingId, string customerCode, DateTime endDate, int numberOfMonths) { using (var dc = new DataContext(sqlConnectionString)) { var rp = new DebitOrderExcel(dc); return(rp.CustomerStatementParameterLookup(buildingId, customerCode, endDate, numberOfMonths)); } }
public List <DebitOrderItem> RunDebitOrderForBuilding(string sqlConnectionString, int buildingId, DateTime processMonth, bool showFeeBreakdown) { using (var dc = new DataContext(sqlConnectionString)) { var rp = new DebitOrderExcel(dc); return(rp.RunDebitOrderForBuilding(buildingId, processMonth, showFeeBreakdown)); } }