public ActionResult Create1(ProductCreateModel m) { Product p = AutoMapper.Mapper.Map <Product>(m); ProductBiz productBiz = new ProductBiz(); productBiz.AddProduct(p); return(View(m)); }
public ActionResult Create1(ProductCreateModel m) { Product p = AutoMapper.Mapper.Map <Product>(m); ProductBiz productBiz = new ProductBiz(); productBiz.AddProduct(p); return(View(m)); }