public ActionResult Update(int id)
        {
            var entity = _outputService.GetSingleOrDefault(id);

            if (entity != null)
            {
                var model = _mapper.Map <Output, OutputViewModel>(entity);

                return(View(model));
            }

            TempData[TempDataErrorKey] = "Производство с таким id не сушествует";

            return(RedirectToAction("Index", "Admin"));
        }