public LightCreateThreadModel(VBLightUser author, int forumId, string title, string text, string ipAddress, bool isOpen = true) { Author = author; ForumId = forumId; Title = title; Text = text; IpAddress = ipAddress; IsOpen = isOpen; }
public LightCreateReplyModel(VBLightUser author, int forumId, int threadId, string text, string ipAddress, string title = "", long?timeRaw = null, bool updateCounters = true) { Author = author; ForumId = forumId; ThreadId = threadId; Text = text; IpAddress = ipAddress; Title = title; TimeRaw = timeRaw; UpdateCounters = updateCounters; }