Esempio n. 1
0
        /// <summary>
        /// Електронна папка за дело
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public IActionResult CaseTimeLinePreview(int id)
        {
            if (!CheckAccess(service, SourceTypeSelectVM.Case, id, AuditConstants.Operations.View))
            {
                return(Redirect_Denied());
            }
            var model = service.CaseElectronicFolder_Select(id);

            if (model == null)
            {
                throw new NotFoundException("Търсеното от Вас дело не е намерено и/или нямате достъп до него.");
            }
            SetViewbag(id);
            SetHelpFile(HelpFileValues.CaseFolder);
            return(View(nameof(CaseTimeLinePreview), model));
        }