* Fixed login & auth * Added dynamic breadcrumb * Added DOC * Added Patient * Added Notifications * Added Messages * Refactoring api * Re-writed menu * Removed unused things * Created README
27 lines
553 B
C#
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; }
|
|
}
|
|
}
|