Documentation & code cleanup
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Models
|
||||
namespace Models
|
||||
{
|
||||
public class Event : GenericMessage
|
||||
{
|
||||
public Event()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
public Event(int id, User author, string description, string title, DateTime publishDate, DateTime startDate, DateTime endDate) : base(id, author, description, title, publishDate)
|
||||
{
|
||||
@@ -19,12 +14,12 @@ namespace Models
|
||||
|
||||
public DateTime StartDate
|
||||
{
|
||||
get;set;
|
||||
get; set;
|
||||
}
|
||||
|
||||
public DateTime EndDate
|
||||
{
|
||||
get;set;
|
||||
get; set;
|
||||
}
|
||||
public override string ToString()
|
||||
{
|
||||
|
Reference in New Issue
Block a user