Thank you, but how can I add items to my "SideBarMenu" ?
How Can I define a new MenuDefinition in addition to MainMenu? I want to create a separate menu in sidebar
In my NavigationProvider i create it by this code
context.Manager.Menus.Add("SideBarMenu",
new MenuDefinition(
"SideBarMenu",
new LocalizableString("SideBaeMenu", EPEDCConsts.LocalizationSourceName))
);
but i can't use it and add MenuItems!
I have a service Like this
PersonDto GetPerson(GetPersonInput input);
GetPersonInput is a DTO that only have an id (int)
public class GetPersonInput : IInputDto
{
public int id {get; set;}
}
and my angular code is like this
personService.getPerson(
{
id : $scope.pId
}
)
.success(function (data) {
//some code
})
There is no problem in this case but when i change my service like this
PersonDto GetPerson(int id);
i get an error that 'id' is not passed !
Is it necessary to use InputDto in the services?