public async Task <IActionResult> AbnormalDataListPrint(CSVDataViewModel csvViewModel)
        {
            try
            {
                List <CSVDataMaster> abnormaldatadetails = new List <CSVDataMaster>();
                var babyID   = this.HttpContext.Request.Query["babyid"].ToString();
                var riskdate = this.HttpContext.Request.Query["riskdate"].ToString();
                var okByDate = this.HttpContext.Request.Query["okByDate"].ToString();
                var bodyNG   = this.HttpContext.Request.Query["bodyNG"].ToString();
                var heartNG  = this.HttpContext.Request.Query["heartNG"].ToString();
                var respNG   = this.HttpContext.Request.Query["respNG"].ToString();
                if (babyID == "" || riskdate == "" || okByDate == "" || bodyNG == "" || heartNG == "" || respNG == "")
                {
                    this.ViewBag.msg = "Error";
                }
                else
                {
                    csvViewModel.babyID               = this.HttpContext.Request.Query["babyid"].ToString();
                    csvViewModel.riskDate             = this.HttpContext.Request.Query["riskdate"].ToString();
                    csvViewModel.okByDate             = this.HttpContext.Request.Query["okByDate"].ToString();
                    csvViewModel.bodyMovementNGByDate = this.HttpContext.Request.Query["bodyNG"].ToString();
                    csvViewModel.heartRateNGByDate    = this.HttpContext.Request.Query["heartNG"].ToString();
                    csvViewModel.respRateNGByDate     = this.HttpContext.Request.Query["respNG"].ToString();
                    this.ViewBag.msg    = "";
                    abnormaldatadetails = await _postRepository.AbnormalDataDetails(csvViewModel.babyID, csvViewModel.riskDate);

                    this.ViewBag.abnormalDataDetailsList = abnormaldatadetails;
                }
            }catch (Exception ex)
            {
                this.ViewBag.errorMsg = Resource.SYS03E001;
            }
            return(View("~/Views/AbnormalListPrint.cshtml", csvViewModel));
        }