public MultiMenuItemViewModel(MultiMenuItemPart item) { Id = item.Id; Title = item.Title; Position = item.Position; Url = item.Url; }
public MultiMenuItemFrontendViewModel(MultiMenuItemPart part) : this() { Url = part.Url; Title = part.Title; Positions = part.Position.Split('.'); }