public ActionResult AddLocationlist(int?[] locations, int ProductId = 0) { if (_productServices.AddProductLocationMaps(ProductId, locations) == null) { return(HttpNotFound()); } return(RedirectToAction("Index", new { id = ProductId })); }
public ActionResult AddLocationlist(int?[] locations, int ProductId = 0) { if (_productServices.AddProductLocationMaps(ProductId, locations) == null) { return(HttpNotFound()); } return(RedirectToAction("Index", new { id = ProductId })); }