Files
Giacomo Bertolazzi 20015159 1246116804 Besciamello (#1)
* Fixed login & auth
* Added dynamic breadcrumb
* Added DOC
* Added Patient
* Added Notifications
* Added Messages
* Refactoring api
* Re-writed menu
* Removed unused things
* Created README
2019-01-15 21:35:00 +01:00

27 lines
553 B
C#

using System.Collections.Generic;
namespace SeniorAssistant.Models
{
public interface IMenuItem
{
string Text { get; set; }
}
public class MenuItem : IMenuItem
{
public MenuItem(string text, string href = "#")
{
Text = text;
HRef = href;
}
public string Text { get; set; }
public string HRef { get; set; }
}
public class SubMenu : IMenuItem
{
public string Text { get; set; }
public IList<MenuItem> Items { get; set; }
}
}