Beispiel #1
0
        public ActionResult Action(ResolutionEnum ScreenRez, Guid CPUs, Guid GPUs)
        {
            if (CPUs != null & GPUs != null)
            {
                ResolutionDTO resolution = (ResolutionDTO)ScreenRez;

                BuildResultDTO resultDTO = Service.Action(CPUs, GPUs, ResolutionDTO.res1080);

                BuildResult buildResult = Mapper.Map <BuildResultDTO, BuildResult>(resultDTO);

                return(PartialView(buildResult));
            }

            return(PartialView());
        }