Exemplo n.º 1
0
        public ActionResult Create(HIVTestResultModel test)
        {
            try
            {
                var ee        = new HIVTestResultBusiness();
                int PatientId = Convert.ToInt32(System.Web.HttpContext.Current.Session["himPatientId"]);


                ee.Create(test, PatientId);
                return(RedirectToAction("Index", new { Id = PatientId }));
            }
            catch
            {
                return(View(test));
            }
        }