skip to Main Content

Not hitting Success in Ajax – Jquery

hitting controller and returning data while debugging but in js>>Ajax call>>success is not hitting repository public FGMOQMapping GetFGMOQMappingAutoSuggest(long loginId) { FGMOQMapping fGMOQMapping = new FGMOQMapping(); DynamicParameters parameters = new DynamicParameters(); parameters.Add("LoginId", loginId); using (var multi = con.QueryMultiple("usp_FGMOQMapping_GetList_AutoSuggest", parameters, commandType: CommandType.StoredProcedure))…

VIEW QUESTION

Pass multiple parameter to Ajax from link in MVC Core – Asp.net

I have this link <a asp-action="goPay" asp-route-id="@item.Appid" asp-route-mem="@item.Memid" asp-route-amt="@item.Areq" asp-controller="Withdraw" class="btn btn-outline-primary mx-1 btn-xs">Pay</a> I want to pass asp-route-id="@item.Appid" asp-route-mem="@item.Memid" asp-route-amt="@item.Areq" to Ajax, I am totally lost on how to receive them in Ajax. I have searched the web, maybe…

VIEW QUESTION
Back To Top
Search