Пример #1
0
        public static DataTable getProfitReport(string invoiceYear)
        {
            ProfitReportDAL objDal = new ProfitReportDAL();

            try
            {
                return(objDal.getProfitReport(invoiceYear));
            }
            catch (Exception ex)
            {
                throw;
            }
            finally
            {
                objDal = null;
            }
        }
Пример #2
0
        public static Int32 deleteAllProfitReport()
        {
            ProfitReportDAL objDal = new ProfitReportDAL();

            try
            {
                return(objDal.deleteAllProfitReport());
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                objDal = null;
            }
        }