public ActionResult getXSLTbyTempName(string tempname)
        {
            IInvTemplateService src  = IoC.Resolve <IInvTemplateService>();
            InvTemplate         temp = InvServiceFactory.GetTemplateByName(tempname);

            byte[] xsltData = System.Text.Encoding.UTF8.GetBytes(temp.XsltFile);
            return(File(xsltData, "text/xsl"));
        }