Esempio n. 1
0
        // GET: CustomerCOde/Details/5
        public ActionResult Details(int id)
        {
            if (!_repo.IsExists(id))
            {
                return(NotFound());
            }
            var customerCode = _repo.Find(id);
            var model        = _mapper.Map <DetailsCustomerCodeViewModel>(customerCode);

            return(View(model));
        }