Here is my controller code, which works 100% as I need it to. However the POST method isn\'t using the AutoMapper and that is not OK. How can I use AutoMapper in this action met
I think you just do
Product product = _productRepository.FindProduct(model.ProductId); Mapper.Map(model, product); _productRepository.SaveChanges();
you may also want to check that you have a non null product first, and also that user is allowed to change that product....