Sunday, April 11, 2021

Area in Action or Area in ActionLink

 @Url.Action("{action}", "{controller}", new { Area = "areaname" });


@Html.ActionLink("LinkName", "{action}", "{controller}", new { area = "{areaname}"}, 
new { @class = "btn btn-cool" })

No comments:

Post a Comment

Linq Expression syntax for where condtion in linq

(Expression<Func<T, bool>> filter)