public ActionResult ReadAll() { var entities = _outputService.GetAll(); var models = _mapper.Map <IEnumerable <Output>, List <OutputViewModel> >(entities); return(View(models)); }