public ActionResult ajxGetSerial(int id)
        {
            IPublishInvoiceService _ipiSer = IoC.Resolve <IPublishInvoiceService>();
            PublishInvoice         pi      = _ipiSer.Getbykey(id);

            return(Json(pi));
        }