public TheoryDetail(int resourceId, string teacherId, string name, string title, string description, DateTimeOffset created, DateTimeOffset?modified, bool isDownloadable, bool isPublic, int fileId, string type, byte[] data, string fileName, TheoryTopic topic, int gradeLevel) { this.ResourceId = resourceId; this.TeacherId = teacherId; this.TeacherName = name; this.Title = title; this.Description = description; this.DateCreated = created; this.DateModified = modified; this.IsDownloadable = isDownloadable; this.IsPublic = isPublic; this.FileId = fileId; this.ContentType = type; this.FileData = data; this.FileName = fileName; this.Topic = topic; this.GradeLevel = gradeLevel; }
public TheoryEdit(string teacherId, int resourceId, string title, string description, bool isDownloadable, bool isPublic, TheoryTopic topic, int level, string fileName) { this.TeacherId = teacherId; this.ResourceId = resourceId; this.Title = title; this.Description = description; this.IsDownloadable = isDownloadable; this.IsPublic = isPublic; this.Topic = topic; this.GradeLevel = level; this.FileName = fileName; }