Esempio n. 1
0
        public IActionResult Edit(string id)
        {
            var carrier = _carriersService.GetCarrierById(id);
            var model   = _mapper.Map <EditCarrierViewModel>(carrier);

            return(this.View(model));
        }