bugs fix
This commit is contained in:
parent
599e9a8865
commit
84f9f63407
44 changed files with 560 additions and 92 deletions
|
@ -0,0 +1,24 @@
|
|||
using System.Collections.Generic;
|
||||
using WebsitePanel.WebDavPortal.Models.Common.Enums;
|
||||
|
||||
namespace WebsitePanel.WebDavPortal.Models.Common
|
||||
{
|
||||
public class AjaxModel
|
||||
{
|
||||
public AjaxModel()
|
||||
{
|
||||
Messages = new List<Message>();
|
||||
}
|
||||
|
||||
public List<Message> Messages { get; private set; }
|
||||
|
||||
public void AddMessage(MessageType type, string value)
|
||||
{
|
||||
Messages.Add(new Message
|
||||
{
|
||||
Type = type,
|
||||
Value = value
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue