public string GetPreview(string templateTextStr, bool isPathPSSRequred, long hospitalId) { LoadSampleXml(); var tagList = m_TagService.GetAllTags(hospitalId); var pssLinkObject = m_PSSLinkDataService.GetPSSLinkByHospital(hospitalId).First(); return(TextTemplateCreate.GetCompleteSmsText(xdoc, templateTextStr, tagList, pssLinkObject.Link, isPathPSSRequred)); }
public ActionResult GetPSSLink() { var hospitalURL = m_PSSLinkService.GetPSSLinkByHospital(m_user.HospitalId); return(Ok(hospitalURL.First())); }