public ActionResult Create(ItemViewModel item)
 {
     try
     {
         var itemRepo = _itemRepository;
         var mapper = new ItemMapper();
         var dto = mapper.MapItemDto(item);
         itemRepo.Add(dto);
         return RedirectToAction("Index");
     }
     catch(Exception e)
     {
         return View(e);
     }
 }
        public ActionResult Edit(ItemViewModel item)
        {
            try
            {
                var map = new ItemMapper();
                var itemDto = map.MapItemDto(item);
                _itemRepository.Update(itemDto);

                return RedirectToAction("Index");
            }
            catch (Exception e)
            {
                var x = e;
                return View();
            }

        }