public IActionResult Index() { context = HttpContext.RequestServices.GetService(typeof(BCare.data.BcareContext)) as BcareContext; //context.Register(319253365, "Maria", "Gunko", "F" , "06-01-1992",7, "AB+", "Abraham Ofer 11 Ashdod", "MashaG", "1234", false); //List<blood_test> BT = context.GetUserTests(34928267); //List<BloodTestViewModel> BTD = context.GetTestResultByID(1); //long counter = context.CountTestsByID(304442254); //List<supplements_or_medication_info> SOMI = context.TopFiveMedications(); //List<Tuple<string, int>> listHMO = context.countUsersByHMOStats(); //List<Tuple<string, int>> listBT = context.countUsersByBloodTypeStats(); //List<Tuple<string, int>> listBloodTestByDate = context.UserBloodTestByDateStats(39341227); List <Tuple <DateTime, double> > listCompStats = context.CompValuesStats(39341227, 2); //context.SetNewComment(314118456,5,1,"04-06-2017",4,"Veru helpful"); //context.DeleteComment(314118456, 5, 1); //context.UpdateComment(314118456, 5, 1, "04-06-2017", 2, "Not So Good"); List <Tuple <double, double> > range = context.GetBOARangeByID(2, 314118456); return(View()); }