示例#1
0
        /// <summary>
        /// Справка регистър БУЛСТАТ
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public IActionResult StateOfPlay(int?id)
        {
            RegixStateOfPlayVM model = null;

            if ((id ?? 0) > 0)
            {
                model = service.GetStateOfPlayById(id ?? 0);
            }
            else
            {
                model = new RegixStateOfPlayVM();
                model.Report.CourtId = userContext.CourtId;
            }
            return(View(model));
        }
示例#2
0
        /// <summary>
        /// Справка регистър БУЛСТАТ
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public IActionResult StateOfPlay(int?id)
        {
            RegixStateOfPlayVM model = null;

            if ((id ?? 0) > 0)
            {
                model = service.GetStateOfPlayById(id ?? 0);
            }
            else
            {
                model = new RegixStateOfPlayVM();
                SetRegixReportMainData(model.Report);
            }

            SetHelpFile(HelpFileValues.Inquiry11);
            return(View(model));
        }