예제 #1
0
        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));
            }
        }
예제 #2
0
        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));
            }
        }