コード例 #1
0
        public ActionResult GetDownloadDetails(DownloadDetailsSearchModel searchModel)
        {
            DownloadDetailsViewModel model = new DownloadDetailsViewModel();

            List <DOWNLOAD_USERS_DET_GET_Result> details =
                db.DOWNLOAD_USERS_DET_GET(searchModel.User_No, searchModel.Date_From, searchModel.Date_To).ToList();

            model.User_Name     = searchModel.User_Name;
            model.Division_Name = searchModel.Division_Name;
            model.Zilla_Name    = searchModel.Zilla_Name;
            model.Thana_Name    = searchModel.Thana_Name;
            model.Date          = searchModel.Date_From;

            model.details = details;

            return(PartialView("_getDownloadDetails", model));
        }