I need to call a sp while the navbar is loading in layout cshtml. the sp will insert an object with two parameters. is it possible to do so? if so, how can i do it?
i need a list to create a dynamic ddl. when i click a specific menu of that ddl i need to retrieve the id of that item.