Answers for "URL.Action inside model"

0

URL.Action inside model

var urlHelper= new System.Web.Mvc.UrlHelper(HttpContext.Current.Request.RequestContext);
string absUrl = urlHelper.Action("MyProfile", "User",new { @Id = Model.UserId, name = Model.NickName }, Request.Url.Scheme);
Posted by: Guest on May-11-2021

Code answers related to "URL.Action inside model"

Browse Popular Code Answers by Language