Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PreviewCVComponent : ViewComponent
- {
- ..
- public async Task<IViewComponentResult> InvokeAsync(int id)
- {
- return View();
- }
- }
- @await Component.InvokeAsync("PreviewCV", new { id = -1 })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement