Ejemplo n.º 1
0
        public ActionResult DesignationGetList(int id)
        {
            var designationGetList = _designationService.GetDesignationDetails(id).Data.ToList();
            var identityInfo       = _ıdentityService.GetPersonGeneralDetails(id).Data.ToList();

            ViewBag.PersonelKimlikId = id;

            //return View("DesignationGetList", designationGetList);
            return(View(Tuple.Create(designationGetList, identityInfo)));
        }
        public ActionResult ReportBuid(int id)
        {
            MultiModelReportDto multi = new MultiModelReportDto();

            multi.PriceDto                = _workingPriceService.GetPriceDetails(id).Data.ToList();
            multi.DesignationDto          = _designationService.GetDesignationDetails(id).Data.ToList();
            multi.PermissionDto           = _permissionService.GetPermissionDetails(id).Data.ToList();
            multi.TemporaryDutyDto        = _temporaryDutyService.GetTemporaryDutyDetails(id).Data.ToList();
            multi.CriminalDto             = _criminalService.GetCriminalDetails(id).Data.ToList();
            multi.PromotionDto            = _promotionService.GetPromotionDetails(id).Data.ToList();
            multi.GraduationDto           = _graduationService.GetGraduationDetails(id).Data.ToList();
            multi.PersonWorkplaceDto      = _ıdentityService.GetPersonWorkplaceDtoDetails(id).Data.ToList();
            multi.PersonGeneralDto        = _ıdentityService.GetPersonGeneralDetails(id).Data.ToList();
            multi.PersonIndividualDto     = _ıdentityService.GetPersonIndividualDtoDetails(id).Data.ToList();
            multi.PersonTradeUnionInfoDto = _ıdentityService.GetPersonTradeUnionInfoDtoDetails(id).Data.ToList();
            multi.Award              = _awardService.GetAllByIdentityId(id).Data.ToList();
            multi.Adaptation         = _adaptationService.GetAllByIdentityId(id).Data.ToList();
            multi.ForeignLanguageDto = _foreignLanguageService.GetForeignLanguageDetails(id).Data.ToList();
            multi.Course             = _courseService.GetAllByIdentityId(id).Data.ToList();
            multi.Military           = _militaryService.GetAllById(id).Data.ToList();

            return(View(multi));
        }