I Have two method and distinct by http verb:
public class ProductImageController : Controller
{
[HttpGet]
public ViewResult Create(int productId)
{
return View(productId);
}
[HttpPost]
public ViewResult Create(int productId)
{
}
}
but Get Error:
already defines a member called 'Create' with the same parameter types