Ejemplo n.º 1
0
        // GET: SuppliersController1/Details/5
        public ActionResult Details(int id)
        {
            if (!_repos.isExist(id))
            {
                return(NotFound());
            }
            var typesofsupplier = _repos.FindById(id);
            var Mappingtolist   = _mapper.Map <SupplierViewModel>(typesofsupplier);

            return(View(Mappingtolist));
        }