How do I call another controller from my view

Solution 1:

Add areas in endpoint

 endpoints.MapControllerRoute(
                    name: "default",
                    pattern: "{controller=Home}/{action=Index}/{id?}");

                endpoints.MapControllerRoute(
                   name: "areas",
                   pattern: "{area:exists}/{controller=Home}/{action=Index}/{id?}");

And create link:

<input type="button"
       value="Go to Edit"
       onclick="location.href='@(Url.Action("Edit",new { controller = "CheckoutAttributes",id="123456" }))'" />

//or

<input type="button"
       value="Go to Edit"
       onclick="location.href='@(Url.Action("Edit","CheckoutAttributes",new { id="123456" }))'" />