public IActionResult AddBloodTestManually() { context = HttpContext.RequestServices.GetService(typeof(BCare.data.BcareContext)) as BcareContext; String cookie = Request.Cookies["Session"]; List <Tuple <int, string> > ListComp = context.GetBOAList(); ViewBag.ListComp = new SelectList(ListComp, "Item1", "Item2"); return(View()); }