コード例 #1
0
        //
        // GET: /<controller>/
        public IActionResult Index()
        {
            List <PatientRx> PatientRxList = null;

            try
            {
                if (!string.IsNullOrEmpty(HttpContext.Session.GetString("UserId")))
                {
                    PatientRxList = lIPatientRxRepository.getByProviderId(HttpContext.Session.GetString("UserId"));
                }
            }
            catch (Exception ex)
            {
                logger.LogDebug("Patent Rx Error: " + ex);
            }
            return(View(PatientRxList));
        }