Exemplo n.º 1
0
        public CrrarController()
        {
//#if DEBUG
//            _service = new MOCKCrrarService();
//#else
            _service = new CrrarService();
//#endif
            log.Info(string.Format("Started CRRARController at {0}", DateTime.UtcNow));
        }
Exemplo n.º 2
0
 public object GetInvoiceHistory(int contactId)
 {
     try
     {
         //TODO:: TAKE THIS BACK OUT ONCE WE HAVE A HISTORY TABLE SETUP
         _service = new MOCKCrrarService();
         return(_service.GetInvoiceHistory(contactId));
     }
     catch (Exception e)
     {
         throw e;
     }
 }