@model DevExtreme.MVC.Demos.ViewModels.KanbanViewModel
@using DevExtreme.MVC.Demos.ViewModels
<div id="kanban">
@(Html.DevExtreme().ScrollView()
.ElementAttr("class", "scrollable-board")
.Direction(ScrollDirection.Horizontal)
.ShowScrollbar(ShowScrollbarMode.Always)
.Content(
Html.DevExtreme().Sortable()
.ElementAttr("class", "sortable-lists")
.ItemOrientation(Orientation.Horizontal)
.MoveItemOnDrop(true)
.Handle(".list-title")
.Content(@<text>
@foreach (var status in Model.Statuses) {
var listModel = new KanbanListViewModel() {
Status = status,
Tasks = Model.Tasks.Where(t => t.Task_Status == status),
Employees = Model.Employees
};
@Html.Partial("_Kanban", listModel)
}
</text>).ToString()
)
)
</div>
@model DevExtreme.MVC.Demos.ViewModels.KanbanListViewModel
@using DevExtreme.MVC.Demos.Models.TreeList
<div class="list">
<div class="list-title">@Model.Status</div>
@(Html.DevExtreme().ScrollView()
.ElementAttr("class", "scrollable-list")
.Direction(ScrollDirection.Vertical)
.ShowScrollbar(ShowScrollbarMode.Always)
.Content(
Html.DevExtreme().Sortable()
.ElementAttr("class", "sortable-cards")
.ItemOrientation(Orientation.Vertical)
.MoveItemOnDrop(true)
.Group("tasksGroup")
.Content(@<text>
@CreateCards(@Model.Tasks)
</text>).ToString()
)
)
</div>
@helper CreateCards(IEnumerable<EmployeeTask> tasks)
{
foreach (var task in tasks) {
<div class="card dx-card">
<div class="card-priority priority-@((int)task.Task_Priority + 1)"></div>
<div class="card-subject">@task.Task_Subject</div>
<div class="card-assignee">@Model.Employees.Where(e => e.ID == task.Task_Assigned_Employee_ID).FirstOrDefault().Name</div>
</div>
}
}
using DevExtreme.MVC.Demos.Models.SampleData;
using DevExtreme.MVC.Demos.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace DevExtreme.MVC.Demos.Controllers {
public class SortableController : Controller {
public ActionResult Kanban() {
return View(new KanbanViewModel {
Tasks = SampleData.EmployeeTasks,
Statuses = new string[] { "Not Started", "Need Assistance", "In Progress", "Deferred", "Completed" },
Employees = SampleData.TaskEmployees
});
}
}
}
using System;
using System.ComponentModel.DataAnnotations;
namespace DevExtreme.MVC.Demos.Models.TreeList {
public class Employee {
public int ID { get; set; }
[Required]
[Display(Name = "Head")]
public int HeadID { get; set; }
[Required]
public string FirstName { get; set; }
[Required]
public string LastName { get; set; }
[Required]
public string FullName { get; set; }
[Required]
[Display(Name = "Title")]
public string Prefix { get; set; }
[Required]
[Display(Name = "Position")]
public string Title { get; set; }
[Required]
public string Department { get; set; }
[Required]
public string City { get; set; }
public string State { get; set; }
public string Address { get; set; }
public int Zipcode { get; set; }
public string Email { get; set; }
public string Skype { get; set; }
public string MobilePhone { get; set; }
public string HomePhone { get; set; }
public DateTime BirthDate { get; set; }
[Required]
public DateTime HireDate { get; set; }
}
}
using System;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace DevExtreme.MVC.Demos.Models.TreeList {
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum Priority { Low, Normal, High, Urgent }
public class EmployeeTask {
public int Task_ID { set; get; }
public int Task_Parent_ID { set; get; }
[Required]
[Display(Name = "Assigned")]
public int Task_Assigned_Employee_ID { set; get; }
public TaskEmployee Task_Assigned_Employee { set; get; }
public int Task_Owner_ID { set; get; }
[Required]
[Display(Name = "Task Subject")]
public string Task_Subject { set; get; }
[Display(Name = "Start Date")]
public DateTime Task_Start_Date { set; get; }
[Display(Name = "Due Date")]
public DateTime Task_Due_Date { set; get; }
[Display(Name = "Status")]
public string Task_Status { set; get; }
public Priority Task_Priority { set; get; }
public int Task_Completion { set; get; }
public bool Has_Items { get; set; }
}
public class TaskEmployee {
public int ID { set; get; }
public string Name { set; get; }
public string Picture { set; get; }
}
}
using System;
using System.Collections.Generic;
using DevExtreme.MVC.Demos.Models.TreeList;
namespace DevExtreme.MVC.Demos.Models.SampleData {
using EmployeeTask = TreeList.EmployeeTask;
using Priority = TreeList.Priority;
public partial class SampleData {
public static readonly IEnumerable<EmployeeTask> EmployeeTasks = new[] {
new EmployeeTask {
Task_ID = 1,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 1,
Task_Subject = "Plans 2015",
Task_Start_Date = DateTime.Parse("2015-01-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-01T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 2,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 1,
Task_Subject = "Health Insurance",
Task_Start_Date = DateTime.Parse("2015-02-12T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-05-30T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 75,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 3,
Task_Assigned_Employee_ID = 4,
Task_Owner_ID = 4,
Task_Subject = "New Brochures",
Task_Start_Date = DateTime.Parse("2015-02-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-01T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 4,
Task_Assigned_Employee_ID = 31,
Task_Owner_ID = 33,
Task_Subject = "Training",
Task_Start_Date = DateTime.Parse("2015-03-02T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-29T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 5,
Task_Assigned_Employee_ID = 5,
Task_Owner_ID = 5,
Task_Subject = "NDA",
Task_Start_Date = DateTime.Parse("2015-03-12T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-05-01T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.High,
Task_Completion = 90,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 6,
Task_Assigned_Employee_ID = 7,
Task_Owner_ID = 1,
Task_Subject = "Revenue Projections",
Task_Start_Date = DateTime.Parse("2015-03-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 7,
Task_Assigned_Employee_ID = 9,
Task_Owner_ID = 9,
Task_Subject = "TV Recall",
Task_Start_Date = DateTime.Parse("2015-04-18T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-04T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 90,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 8,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 5,
Task_Subject = "Overtime",
Task_Start_Date = DateTime.Parse("2015-06-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-20T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 9,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 12,
Task_Subject = "Recall and Refund Forms",
Task_Start_Date = DateTime.Parse("2015-06-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-09T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 10,
Task_Assigned_Employee_ID = 10,
Task_Owner_ID = 8,
Task_Subject = "Shippers",
Task_Start_Date = DateTime.Parse("2015-07-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-11T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 11,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 22,
Task_Subject = "Hardware Upgrade",
Task_Start_Date = DateTime.Parse("2015-07-22T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-05-01T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.High,
Task_Completion = 95,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 12,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 24,
Task_Subject = "Touch-Enabled Apps",
Task_Start_Date = DateTime.Parse("2015-08-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 90,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 13,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 6,
Task_Subject = "Online Sales",
Task_Start_Date = DateTime.Parse("2015-08-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-09-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 14,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 8,
Task_Subject = "New Website Design",
Task_Start_Date = DateTime.Parse("2015-09-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-01T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 15,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 22,
Task_Subject = "Bandwidth Increase",
Task_Start_Date = DateTime.Parse("2015-11-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-07T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 16,
Task_Assigned_Employee_ID = 18,
Task_Owner_ID = 9,
Task_Subject = "Support",
Task_Start_Date = DateTime.Parse("2015-11-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 17,
Task_Assigned_Employee_ID = 31,
Task_Owner_ID = 31,
Task_Subject = "Training Material",
Task_Start_Date = DateTime.Parse("2015-11-14T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-05T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 18,
Task_Assigned_Employee_ID = 22,
Task_Owner_ID = 3,
Task_Subject = "New Database",
Task_Start_Date = DateTime.Parse("2015-12-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-29T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 95,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 19,
Task_Assigned_Employee_ID = 32,
Task_Owner_ID = 3,
Task_Subject = "New HDMI Specification",
Task_Start_Date = DateTime.Parse("2016-01-02T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-01-31T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Normal,
Task_Completion = 50,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 20,
Task_Assigned_Employee_ID = 3,
Task_Owner_ID = 3,
Task_Subject = "Automation Server",
Task_Start_Date = DateTime.Parse("2016-01-15T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.High,
Task_Completion = 85,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 21,
Task_Assigned_Employee_ID = 40,
Task_Owner_ID = 8,
Task_Subject = "Retail Sales",
Task_Start_Date = DateTime.Parse("2016-01-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-10T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 22,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 1,
Task_Subject = "Reports",
Task_Start_Date = DateTime.Parse("2016-03-13T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-05-07T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 50,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 23,
Task_Assigned_Employee_ID = 5,
Task_Owner_ID = 1,
Task_Subject = "Budget",
Task_Start_Date = DateTime.Parse("2016-03-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-01T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 30,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 24,
Task_Assigned_Employee_ID = 13,
Task_Owner_ID = 10,
Task_Subject = "Shipping Labels",
Task_Start_Date = DateTime.Parse("2016-04-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-15T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 50,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 25,
Task_Assigned_Employee_ID = 10,
Task_Owner_ID = 10,
Task_Subject = "New Warehouse",
Task_Start_Date = DateTime.Parse("2016-04-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-15T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 65,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 26,
Task_Assigned_Employee_ID = 10,
Task_Owner_ID = 10,
Task_Subject = "Forklift",
Task_Start_Date = DateTime.Parse("2016-04-07T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-20T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 20,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 27,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 30,
Task_Subject = "Customer Follow Up Plan",
Task_Start_Date = DateTime.Parse("2016-05-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-05-11T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 40,
Task_Parent_ID = 0
},
new EmployeeTask {
Task_ID = 28,
Task_Assigned_Employee_ID = 7,
Task_Owner_ID = 1,
Task_Subject = "Prepare 2015 Financial",
Task_Start_Date = DateTime.Parse("2015-01-15T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-01-31T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 1
},
new EmployeeTask {
Task_ID = 29,
Task_Assigned_Employee_ID = 4,
Task_Owner_ID = 1,
Task_Subject = "Prepare 2015 Marketing Plan",
Task_Start_Date = DateTime.Parse("2015-01-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-01-31T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 1
},
new EmployeeTask {
Task_ID = 30,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 1,
Task_Subject = "Review Health Insurance Options Under the Affordable Care Act",
Task_Start_Date = DateTime.Parse("2015-02-12T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-25T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 50,
Task_Parent_ID = 2
},
new EmployeeTask {
Task_ID = 31,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 2,
Task_Subject = "Choose between PPO and HMO Health Plan",
Task_Start_Date = DateTime.Parse("2015-02-15T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-15T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 75,
Task_Parent_ID = 2
},
new EmployeeTask {
Task_ID = 32,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 4,
Task_Subject = "Google AdWords Strategy",
Task_Start_Date = DateTime.Parse("2015-02-16T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-02-28T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 29
},
new EmployeeTask {
Task_ID = 34,
Task_Assigned_Employee_ID = 28,
Task_Owner_ID = 1,
Task_Subject = "2015 Brochure Designs",
Task_Start_Date = DateTime.Parse("2015-02-19T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-02-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 3
},
new EmployeeTask {
Task_ID = 35,
Task_Assigned_Employee_ID = 29,
Task_Owner_ID = 28,
Task_Subject = "Brochure Design Review",
Task_Start_Date = DateTime.Parse("2015-02-19T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-02-22T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 34
},
new EmployeeTask {
Task_ID = 36,
Task_Assigned_Employee_ID = 29,
Task_Owner_ID = 28,
Task_Subject = "Website Re-Design Plan",
Task_Start_Date = DateTime.Parse("2015-02-19T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-02-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 34
},
new EmployeeTask {
Task_ID = 37,
Task_Assigned_Employee_ID = 4,
Task_Owner_ID = 1,
Task_Subject = "Rollout of New Website and Marketing Brochures",
Task_Start_Date = DateTime.Parse("2015-02-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-02-28T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 3
},
new EmployeeTask {
Task_ID = 38,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 4,
Task_Subject = "Update Sales Strategy Documents",
Task_Start_Date = DateTime.Parse("2015-02-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-02-22T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 29
},
new EmployeeTask {
Task_ID = 39,
Task_Assigned_Employee_ID = 41,
Task_Owner_ID = 8,
Task_Subject = "Create 2012 Sales Report",
Task_Start_Date = DateTime.Parse("2015-02-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-02-21T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 29
},
new EmployeeTask {
Task_ID = 40,
Task_Assigned_Employee_ID = 42,
Task_Owner_ID = 41,
Task_Subject = "Direct vs Online Sales Comparison Report",
Task_Start_Date = DateTime.Parse("2015-02-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-02-22T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 29
},
new EmployeeTask {
Task_ID = 41,
Task_Assigned_Employee_ID = 4,
Task_Owner_ID = 41,
Task_Subject = "Review 2012 Sales Report and Approve 2015 Plans",
Task_Start_Date = DateTime.Parse("2015-02-23T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-02-28T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 29
},
new EmployeeTask {
Task_ID = 42,
Task_Assigned_Employee_ID = 3,
Task_Owner_ID = 1,
Task_Subject = "Deliver R&D Plans for 2015",
Task_Start_Date = DateTime.Parse("2015-03-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-10T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 1
},
new EmployeeTask {
Task_ID = 43,
Task_Assigned_Employee_ID = 32,
Task_Owner_ID = 3,
Task_Subject = "Create 2015 R&D Plans",
Task_Start_Date = DateTime.Parse("2015-03-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-07T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 42
},
new EmployeeTask {
Task_ID = 44,
Task_Assigned_Employee_ID = 33,
Task_Owner_ID = 32,
Task_Subject = "2015 QA Strategy Report",
Task_Start_Date = DateTime.Parse("2015-03-02T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-05T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 42
},
new EmployeeTask {
Task_ID = 45,
Task_Assigned_Employee_ID = 31,
Task_Owner_ID = 33,
Task_Subject = "2015 Training Events",
Task_Start_Date = DateTime.Parse("2015-03-02T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-04T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 4
},
new EmployeeTask {
Task_ID = 46,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 5,
Task_Subject = "Non-Compete Agreements",
Task_Start_Date = DateTime.Parse("2015-03-12T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-14T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Low,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 47,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 2,
Task_Subject = "Update NDA Agreement",
Task_Start_Date = DateTime.Parse("2015-03-14T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-16T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 48,
Task_Assigned_Employee_ID = 5,
Task_Owner_ID = 2,
Task_Subject = "Update Employee Files with New NDA",
Task_Start_Date = DateTime.Parse("2015-03-16T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-26T00:00:00"),
Task_Status = "Need Assistance",
Task_Priority = Priority.Normal,
Task_Completion = 90,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 49,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 5,
Task_Subject = "Sign Updated NDA",
Task_Start_Date = DateTime.Parse("2015-03-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-25T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 50,
Task_Assigned_Employee_ID = 7,
Task_Owner_ID = 5,
Task_Subject = "Sign Updated NDA",
Task_Start_Date = DateTime.Parse("2015-03-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-25T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 51,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 5,
Task_Subject = "Sign Updated NDA",
Task_Start_Date = DateTime.Parse("2015-03-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-25T00:00:00"),
Task_Status = "Need Assistance",
Task_Priority = Priority.High,
Task_Completion = 25,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 52,
Task_Assigned_Employee_ID = 9,
Task_Owner_ID = 5,
Task_Subject = "Sign Updated NDA",
Task_Start_Date = DateTime.Parse("2015-03-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-25T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 53,
Task_Assigned_Employee_ID = 17,
Task_Owner_ID = 9,
Task_Subject = "Submit Questions Regarding New NDA",
Task_Start_Date = DateTime.Parse("2015-03-21T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 54,
Task_Assigned_Employee_ID = 18,
Task_Owner_ID = 9,
Task_Subject = "Submit Questions Regarding New NDA",
Task_Start_Date = DateTime.Parse("2015-03-21T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 55,
Task_Assigned_Employee_ID = 19,
Task_Owner_ID = 9,
Task_Subject = "Submit Questions Regarding New NDA",
Task_Start_Date = DateTime.Parse("2015-03-21T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"),
Task_Status = "Need Assistance",
Task_Priority = Priority.Urgent,
Task_Completion = 25,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 56,
Task_Assigned_Employee_ID = 14,
Task_Owner_ID = 10,
Task_Subject = "Submit Signed NDA",
Task_Start_Date = DateTime.Parse("2015-03-22T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 57,
Task_Assigned_Employee_ID = 13,
Task_Owner_ID = 10,
Task_Subject = "Submit Signed NDA",
Task_Start_Date = DateTime.Parse("2015-03-22T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 58,
Task_Assigned_Employee_ID = 15,
Task_Owner_ID = 10,
Task_Subject = "Submit Signed NDA",
Task_Start_Date = DateTime.Parse("2015-03-22T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 59,
Task_Assigned_Employee_ID = 16,
Task_Owner_ID = 10,
Task_Subject = "Submit Signed NDA",
Task_Start_Date = DateTime.Parse("2015-03-22T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 5
},
new EmployeeTask {
Task_ID = 60,
Task_Assigned_Employee_ID = 7,
Task_Owner_ID = 1,
Task_Subject = "Update Revenue Projections",
Task_Start_Date = DateTime.Parse("2015-03-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-07T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 6
},
new EmployeeTask {
Task_ID = 61,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 7,
Task_Subject = "Review Revenue Projections",
Task_Start_Date = DateTime.Parse("2015-03-25T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-06T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 6
},
new EmployeeTask {
Task_ID = 62,
Task_Assigned_Employee_ID = 41,
Task_Owner_ID = 7,
Task_Subject = "Comment on Revenue Projections",
Task_Start_Date = DateTime.Parse("2015-03-25T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-03T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 6
},
new EmployeeTask {
Task_ID = 63,
Task_Assigned_Employee_ID = 42,
Task_Owner_ID = 7,
Task_Subject = "Comment on Revenue Projections",
Task_Start_Date = DateTime.Parse("2015-03-25T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-03T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 6
},
new EmployeeTask {
Task_ID = 64,
Task_Assigned_Employee_ID = 45,
Task_Owner_ID = 7,
Task_Subject = "Comment on Revenue Projections",
Task_Start_Date = DateTime.Parse("2015-03-25T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-03T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.High,
Task_Completion = 25,
Task_Parent_ID = 6
},
new EmployeeTask {
Task_ID = 65,
Task_Assigned_Employee_ID = 5,
Task_Owner_ID = 11,
Task_Subject = "Provide New Health Insurance Docs",
Task_Start_Date = DateTime.Parse("2015-03-28T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-07T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 2
},
new EmployeeTask {
Task_ID = 66,
Task_Assigned_Employee_ID = 10,
Task_Owner_ID = 11,
Task_Subject = "Review Changes to Health Insurance Coverage",
Task_Start_Date = DateTime.Parse("2015-04-07T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-30T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 2
},
new EmployeeTask {
Task_ID = 67,
Task_Assigned_Employee_ID = 14,
Task_Owner_ID = 10,
Task_Subject = "Scan Health Insurance Forms",
Task_Start_Date = DateTime.Parse("2015-04-15T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-20T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 2
},
new EmployeeTask {
Task_ID = 68,
Task_Assigned_Employee_ID = 15,
Task_Owner_ID = 14,
Task_Subject = "Sign Health Insurance Forms",
Task_Start_Date = DateTime.Parse("2015-04-16T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-19T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 2
},
new EmployeeTask {
Task_ID = 69,
Task_Assigned_Employee_ID = 13,
Task_Owner_ID = 14,
Task_Subject = "Sign Health Insurance Forms",
Task_Start_Date = DateTime.Parse("2015-04-16T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-19T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 2
},
new EmployeeTask {
Task_ID = 70,
Task_Assigned_Employee_ID = 16,
Task_Owner_ID = 14,
Task_Subject = "Sign Health Insurance Forms",
Task_Start_Date = DateTime.Parse("2015-04-16T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-19T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 2
},
new EmployeeTask {
Task_ID = 71,
Task_Assigned_Employee_ID = 18,
Task_Owner_ID = 9,
Task_Subject = "Follow up with West Coast Stores",
Task_Start_Date = DateTime.Parse("2015-04-18T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-04T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.High,
Task_Completion = 95,
Task_Parent_ID = 7
},
new EmployeeTask {
Task_ID = 72,
Task_Assigned_Employee_ID = 17,
Task_Owner_ID = 9,
Task_Subject = "Follow up with East Coast Stores",
Task_Start_Date = DateTime.Parse("2015-04-18T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-01-04T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.High,
Task_Completion = 85,
Task_Parent_ID = 7
},
new EmployeeTask {
Task_ID = 73,
Task_Assigned_Employee_ID = 19,
Task_Owner_ID = 9,
Task_Subject = "Send Email to Customers about Recall",
Task_Start_Date = DateTime.Parse("2015-04-18T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-04-30T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 7
},
new EmployeeTask {
Task_ID = 74,
Task_Assigned_Employee_ID = 9,
Task_Owner_ID = 7,
Task_Subject = "Submit Refund Report for 2015 Recall",
Task_Start_Date = DateTime.Parse("2015-04-25T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-05-05T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 7
},
new EmployeeTask {
Task_ID = 75,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 7,
Task_Subject = "Give Final Approval for Refunds",
Task_Start_Date = DateTime.Parse("2015-05-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-05-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 7
},
new EmployeeTask {
Task_ID = 76,
Task_Assigned_Employee_ID = 32,
Task_Owner_ID = 3,
Task_Subject = "Prepare Product Recall Report",
Task_Start_Date = DateTime.Parse("2015-05-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-05-16T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 7
},
new EmployeeTask {
Task_ID = 77,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 3,
Task_Subject = "Review Product Recall Report by Engineering Team",
Task_Start_Date = DateTime.Parse("2015-05-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-05-20T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 7
},
new EmployeeTask {
Task_ID = 78,
Task_Assigned_Employee_ID = 31,
Task_Owner_ID = 32,
Task_Subject = "Create Training Course for New TVs",
Task_Start_Date = DateTime.Parse("2015-05-29T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-29T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 4
},
new EmployeeTask {
Task_ID = 79,
Task_Assigned_Employee_ID = 33,
Task_Owner_ID = 31,
Task_Subject = "Review Training Course for any Omissions",
Task_Start_Date = DateTime.Parse("2015-06-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 4
},
new EmployeeTask {
Task_ID = 80,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 5,
Task_Subject = "Review Overtime Report",
Task_Start_Date = DateTime.Parse("2015-06-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-14T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 8
},
new EmployeeTask {
Task_ID = 81,
Task_Assigned_Employee_ID = 21,
Task_Owner_ID = 6,
Task_Subject = "Submit Overtime Request Forms",
Task_Start_Date = DateTime.Parse("2015-06-11T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-12T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 8
},
new EmployeeTask {
Task_ID = 82,
Task_Assigned_Employee_ID = 22,
Task_Owner_ID = 6,
Task_Subject = "Submit Overtime Request Forms",
Task_Start_Date = DateTime.Parse("2015-06-11T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-12T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 8
},
new EmployeeTask {
Task_ID = 83,
Task_Assigned_Employee_ID = 23,
Task_Owner_ID = 6,
Task_Subject = "Submit Overtime Request Forms",
Task_Start_Date = DateTime.Parse("2015-06-11T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-12T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 8
},
new EmployeeTask {
Task_ID = 84,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 6,
Task_Subject = "Overtime Approval Guidelines",
Task_Start_Date = DateTime.Parse("2015-06-15T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-20T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 8
},
new EmployeeTask {
Task_ID = 85,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 12,
Task_Subject = "Refund Request Template",
Task_Start_Date = DateTime.Parse("2015-06-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-01T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 9
},
new EmployeeTask {
Task_ID = 86,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 12,
Task_Subject = "Recall Rebate Form",
Task_Start_Date = DateTime.Parse("2015-06-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-01T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 9
},
new EmployeeTask {
Task_ID = 87,
Task_Assigned_Employee_ID = 12,
Task_Owner_ID = 30,
Task_Subject = "Create Report on Customer Feedback",
Task_Start_Date = DateTime.Parse("2015-06-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-06-30T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 9
},
new EmployeeTask {
Task_ID = 88,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 30,
Task_Subject = "Review Customer Feedback Report",
Task_Start_Date = DateTime.Parse("2015-06-30T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-07-03T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 9
},
new EmployeeTask {
Task_ID = 89,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 8,
Task_Subject = "Customer Feedback Report Analysis",
Task_Start_Date = DateTime.Parse("2015-07-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-09T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 9
},
new EmployeeTask {
Task_ID = 90,
Task_Assigned_Employee_ID = 10,
Task_Owner_ID = 8,
Task_Subject = "Prepare Shipping Cost Analysis Report",
Task_Start_Date = DateTime.Parse("2015-07-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-07-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 10
},
new EmployeeTask {
Task_ID = 91,
Task_Assigned_Employee_ID = 13,
Task_Owner_ID = 10,
Task_Subject = "Provide Feedback on Shippers",
Task_Start_Date = DateTime.Parse("2015-07-11T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-07-14T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 10
},
new EmployeeTask {
Task_ID = 92,
Task_Assigned_Employee_ID = 15,
Task_Owner_ID = 10,
Task_Subject = "Provide Feedback on Shippers",
Task_Start_Date = DateTime.Parse("2015-07-11T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-07-14T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 10
},
new EmployeeTask {
Task_ID = 93,
Task_Assigned_Employee_ID = 16,
Task_Owner_ID = 10,
Task_Subject = "Provide Feedback on Shippers",
Task_Start_Date = DateTime.Parse("2015-07-11T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-07-14T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 10
},
new EmployeeTask {
Task_ID = 94,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 10,
Task_Subject = "Select Preferred Shipper",
Task_Start_Date = DateTime.Parse("2015-07-16T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-07-20T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 10
},
new EmployeeTask {
Task_ID = 95,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 2,
Task_Subject = "Complete Shipper Selection Form",
Task_Start_Date = DateTime.Parse("2015-07-21T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-11T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Urgent,
Task_Completion = 0,
Task_Parent_ID = 10
},
new EmployeeTask {
Task_ID = 96,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 22,
Task_Subject = "Upgrade Server Hardware",
Task_Start_Date = DateTime.Parse("2015-07-22T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-07-31T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 11
},
new EmployeeTask {
Task_ID = 97,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 21,
Task_Subject = "Upgrade Personal Computers",
Task_Start_Date = DateTime.Parse("2015-07-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 85,
Task_Parent_ID = 11
},
new EmployeeTask {
Task_ID = 98,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 6,
Task_Subject = "Approve Personal Computer Upgrade Plan",
Task_Start_Date = DateTime.Parse("2015-07-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-07-31T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 11
},
new EmployeeTask {
Task_ID = 99,
Task_Assigned_Employee_ID = 3,
Task_Owner_ID = 6,
Task_Subject = "Decide on Mobile Devices to Use in the Field",
Task_Start_Date = DateTime.Parse("2015-07-30T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-08-02T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 11
},
new EmployeeTask {
Task_ID = 100,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 24,
Task_Subject = "Upgrade Apps to Windows RT or stay with WinForms",
Task_Start_Date = DateTime.Parse("2015-08-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-08-05T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 12
},
new EmployeeTask {
Task_ID = 101,
Task_Assigned_Employee_ID = 25,
Task_Owner_ID = 24,
Task_Subject = "Estimate Time Required to Touch-Enable Apps",
Task_Start_Date = DateTime.Parse("2015-08-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-08-07T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 12
},
new EmployeeTask {
Task_ID = 102,
Task_Assigned_Employee_ID = 23,
Task_Owner_ID = 6,
Task_Subject = "Report on Tranistion to Touch-Based Apps",
Task_Start_Date = DateTime.Parse("2015-08-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-08-11T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 12
},
new EmployeeTask {
Task_ID = 103,
Task_Assigned_Employee_ID = 3,
Task_Owner_ID = 6,
Task_Subject = "Try New Touch-Enabled WinForms Apps",
Task_Start_Date = DateTime.Parse("2015-08-11T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-08-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 12
},
new EmployeeTask {
Task_ID = 104,
Task_Assigned_Employee_ID = 24,
Task_Owner_ID = 6,
Task_Subject = "Rollout New Touch-Enabled WinForms Apps",
Task_Start_Date = DateTime.Parse("2015-08-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 75,
Task_Parent_ID = 12
},
new EmployeeTask {
Task_ID = 105,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 3,
Task_Subject = "Site Up-Time Report",
Task_Start_Date = DateTime.Parse("2015-08-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-08-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 13
},
new EmployeeTask {
Task_ID = 106,
Task_Assigned_Employee_ID = 4,
Task_Owner_ID = 3,
Task_Subject = "Review Site Up-Time Report",
Task_Start_Date = DateTime.Parse("2015-08-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-08-30T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 13
},
new EmployeeTask {
Task_ID = 107,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 4,
Task_Subject = "Review Online Sales Report",
Task_Start_Date = DateTime.Parse("2015-08-30T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-09-04T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 13
},
new EmployeeTask {
Task_ID = 108,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 4,
Task_Subject = "Determine New Online Marketing Strategy",
Task_Start_Date = DateTime.Parse("2015-09-03T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-09-10T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 13
},
new EmployeeTask {
Task_ID = 109,
Task_Assigned_Employee_ID = 42,
Task_Owner_ID = 8,
Task_Subject = "New Online Marketing Strategy",
Task_Start_Date = DateTime.Parse("2015-09-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-09-11T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 13
},
new EmployeeTask {
Task_ID = 110,
Task_Assigned_Employee_ID = 4,
Task_Owner_ID = 8,
Task_Subject = "Approve New Online Marketing Strategy",
Task_Start_Date = DateTime.Parse("2015-09-15T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-09-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 13
},
new EmployeeTask {
Task_ID = 111,
Task_Assigned_Employee_ID = 28,
Task_Owner_ID = 8,
Task_Subject = "Submit New Website Design",
Task_Start_Date = DateTime.Parse("2015-09-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-09-22T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 14
},
new EmployeeTask {
Task_ID = 112,
Task_Assigned_Employee_ID = 29,
Task_Owner_ID = 28,
Task_Subject = "Create Icons for Website",
Task_Start_Date = DateTime.Parse("2015-09-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-09-21T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 111
},
new EmployeeTask {
Task_ID = 113,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 28,
Task_Subject = "Review PSDs for New Website",
Task_Start_Date = DateTime.Parse("2015-09-23T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 111
},
new EmployeeTask {
Task_ID = 114,
Task_Assigned_Employee_ID = 24,
Task_Owner_ID = 6,
Task_Subject = "Create New Shopping Cart",
Task_Start_Date = DateTime.Parse("2015-09-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-01T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 113
},
new EmployeeTask {
Task_ID = 115,
Task_Assigned_Employee_ID = 25,
Task_Owner_ID = 6,
Task_Subject = "Create New Product Pages",
Task_Start_Date = DateTime.Parse("2015-09-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-04T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 113
},
new EmployeeTask {
Task_ID = 116,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 6,
Task_Subject = "Review New Product Pages",
Task_Start_Date = DateTime.Parse("2015-10-04T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-10T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 113
},
new EmployeeTask {
Task_ID = 117,
Task_Assigned_Employee_ID = 4,
Task_Owner_ID = 8,
Task_Subject = "Approve Website Launch",
Task_Start_Date = DateTime.Parse("2015-10-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 113
},
new EmployeeTask {
Task_ID = 118,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 8,
Task_Subject = "Launch New Website",
Task_Start_Date = DateTime.Parse("2015-10-15T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-16T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 111
},
new EmployeeTask {
Task_ID = 119,
Task_Assigned_Employee_ID = 14,
Task_Owner_ID = 10,
Task_Subject = "Update Customer Shipping Profiles",
Task_Start_Date = DateTime.Parse("2015-10-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-22T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 14
},
new EmployeeTask {
Task_ID = 120,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 10,
Task_Subject = "Create New Shipping Return Labels",
Task_Start_Date = DateTime.Parse("2015-10-21T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-30T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 119
},
new EmployeeTask {
Task_ID = 121,
Task_Assigned_Employee_ID = 23,
Task_Owner_ID = 6,
Task_Subject = "Get Design for Shipping Return Labels",
Task_Start_Date = DateTime.Parse("2015-10-21T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-30T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 119
},
new EmployeeTask {
Task_ID = 122,
Task_Assigned_Employee_ID = 29,
Task_Owner_ID = 23,
Task_Subject = "PSD needed for Shipping Return Labels",
Task_Start_Date = DateTime.Parse("2015-10-22T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-10-27T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 119
},
new EmployeeTask {
Task_ID = 123,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 22,
Task_Subject = "Request Bandwidth Increase from ISP",
Task_Start_Date = DateTime.Parse("2015-11-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-05T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 15
},
new EmployeeTask {
Task_ID = 124,
Task_Assigned_Employee_ID = 7,
Task_Owner_ID = 6,
Task_Subject = "Submit D&B Number to ISP for Credit Approval",
Task_Start_Date = DateTime.Parse("2015-11-04T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-07T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 15
},
new EmployeeTask {
Task_ID = 125,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 7,
Task_Subject = "Contact ISP and Discuss Payment Options",
Task_Start_Date = DateTime.Parse("2015-11-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-06T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 15
},
new EmployeeTask {
Task_ID = 126,
Task_Assigned_Employee_ID = 18,
Task_Owner_ID = 9,
Task_Subject = "Prepare Year-End Support Summary Report",
Task_Start_Date = DateTime.Parse("2015-11-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 16
},
new EmployeeTask {
Task_ID = 127,
Task_Assigned_Employee_ID = 19,
Task_Owner_ID = 18,
Task_Subject = "Analyze Support Traffic for 2015",
Task_Start_Date = DateTime.Parse("2015-11-11T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-14T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 16
},
new EmployeeTask {
Task_ID = 128,
Task_Assigned_Employee_ID = 33,
Task_Owner_ID = 31,
Task_Subject = "Review New Training Material",
Task_Start_Date = DateTime.Parse("2015-11-14T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-18T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 17
},
new EmployeeTask {
Task_ID = 129,
Task_Assigned_Employee_ID = 31,
Task_Owner_ID = 33,
Task_Subject = "Distribute Training Material to Support Staff",
Task_Start_Date = DateTime.Parse("2015-11-18T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-11-30T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 17
},
new EmployeeTask {
Task_ID = 130,
Task_Assigned_Employee_ID = 9,
Task_Owner_ID = 31,
Task_Subject = "Training Material Distribution Schedule",
Task_Start_Date = DateTime.Parse("2015-11-30T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-02T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 17
},
new EmployeeTask {
Task_ID = 131,
Task_Assigned_Employee_ID = 28,
Task_Owner_ID = 9,
Task_Subject = "Provide New Artwork to Support Team",
Task_Start_Date = DateTime.Parse("2015-12-03T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-04T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 17
},
new EmployeeTask {
Task_ID = 132,
Task_Assigned_Employee_ID = 29,
Task_Owner_ID = 28,
Task_Subject = "Publish New Art on the Server",
Task_Start_Date = DateTime.Parse("2015-12-03T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-04T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 131
},
new EmployeeTask {
Task_ID = 133,
Task_Assigned_Employee_ID = 12,
Task_Owner_ID = 8,
Task_Subject = "Replace Old Artwork with New Artwork",
Task_Start_Date = DateTime.Parse("2015-12-07T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 131
},
new EmployeeTask {
Task_ID = 134,
Task_Assigned_Employee_ID = 20,
Task_Owner_ID = 8,
Task_Subject = "Replace Old Artwork with New Artwork",
Task_Start_Date = DateTime.Parse("2015-12-07T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 131
},
new EmployeeTask {
Task_ID = 135,
Task_Assigned_Employee_ID = 40,
Task_Owner_ID = 8,
Task_Subject = "Replace Old Artwork with New Artwork",
Task_Start_Date = DateTime.Parse("2015-12-07T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-15T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 131
},
new EmployeeTask {
Task_ID = 136,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 45,
Task_Subject = "Ship New Brochures to Field",
Task_Start_Date = DateTime.Parse("2015-12-19T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-31T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 17
},
new EmployeeTask {
Task_ID = 137,
Task_Assigned_Employee_ID = 14,
Task_Owner_ID = 8,
Task_Subject = "Ship Brochures to Todd Hoffman",
Task_Start_Date = DateTime.Parse("2015-12-23T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-31T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 17
},
new EmployeeTask {
Task_ID = 138,
Task_Assigned_Employee_ID = 22,
Task_Owner_ID = 3,
Task_Subject = "Update Server with Service Packs",
Task_Start_Date = DateTime.Parse("2015-12-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-24T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.High,
Task_Completion = 100,
Task_Parent_ID = 18
},
new EmployeeTask {
Task_ID = 139,
Task_Assigned_Employee_ID = 22,
Task_Owner_ID = 6,
Task_Subject = "Install New Database",
Task_Start_Date = DateTime.Parse("2015-12-27T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-28T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 18
},
new EmployeeTask {
Task_ID = 140,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 22,
Task_Subject = "Approve Overtime for HR",
Task_Start_Date = DateTime.Parse("2015-12-29T00:00:00"),
Task_Due_Date = DateTime.Parse("2015-12-29T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 18
},
new EmployeeTask {
Task_ID = 141,
Task_Assigned_Employee_ID = 32,
Task_Owner_ID = 3,
Task_Subject = "Review New HDMI Specification",
Task_Start_Date = DateTime.Parse("2016-01-02T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-01-31T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Normal,
Task_Completion = 50,
Task_Parent_ID = 19
},
new EmployeeTask {
Task_ID = 142,
Task_Assigned_Employee_ID = 3,
Task_Owner_ID = 32,
Task_Subject = "Approval on Converting to New HDMI Specification",
Task_Start_Date = DateTime.Parse("2016-01-11T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-01-31T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Normal,
Task_Completion = 75,
Task_Parent_ID = 19
},
new EmployeeTask {
Task_ID = 143,
Task_Assigned_Employee_ID = 24,
Task_Owner_ID = 3,
Task_Subject = "Create New Spike for Automation Server",
Task_Start_Date = DateTime.Parse("2016-01-15T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-01-27T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 20
},
new EmployeeTask {
Task_ID = 144,
Task_Assigned_Employee_ID = 41,
Task_Owner_ID = 8,
Task_Subject = "Report on Retail Sales Strategy for 2016",
Task_Start_Date = DateTime.Parse("2016-01-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-01-31T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 21
},
new EmployeeTask {
Task_ID = 145,
Task_Assigned_Employee_ID = 25,
Task_Owner_ID = 3,
Task_Subject = "Code Review - New Automation Server",
Task_Start_Date = DateTime.Parse("2016-01-27T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-15T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 75,
Task_Parent_ID = 20
},
new EmployeeTask {
Task_ID = 146,
Task_Assigned_Employee_ID = 17,
Task_Owner_ID = 31,
Task_Subject = "Feedback on New Training Course",
Task_Start_Date = DateTime.Parse("2016-01-28T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-05T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 17
},
new EmployeeTask {
Task_ID = 147,
Task_Assigned_Employee_ID = 10,
Task_Owner_ID = 7,
Task_Subject = "Send Monthly Invoices from Shippers",
Task_Start_Date = DateTime.Parse("2016-02-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-07T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 10
},
new EmployeeTask {
Task_ID = 148,
Task_Assigned_Employee_ID = 40,
Task_Owner_ID = 39,
Task_Subject = "Schedule Meeting with Sales Team",
Task_Start_Date = DateTime.Parse("2016-02-07T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-09T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 21
},
new EmployeeTask {
Task_ID = 149,
Task_Assigned_Employee_ID = 42,
Task_Owner_ID = 40,
Task_Subject = "Confirm Availability for Sales Meeting",
Task_Start_Date = DateTime.Parse("2016-02-09T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-09T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 21
},
new EmployeeTask {
Task_ID = 150,
Task_Assigned_Employee_ID = 39,
Task_Owner_ID = 40,
Task_Subject = "Reschedule Sales Team Meeting",
Task_Start_Date = DateTime.Parse("2016-02-10T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-02-10T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 21
},
new EmployeeTask {
Task_ID = 151,
Task_Assigned_Employee_ID = 45,
Task_Owner_ID = 44,
Task_Subject = "Update Database with New Leads",
Task_Start_Date = DateTime.Parse("2016-03-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-10T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 80,
Task_Parent_ID = 18
},
new EmployeeTask {
Task_ID = 152,
Task_Assigned_Employee_ID = 12,
Task_Owner_ID = 41,
Task_Subject = "Send Territory Sales Breakdown",
Task_Start_Date = DateTime.Parse("2016-03-13T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-16T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 50,
Task_Parent_ID = 22
},
new EmployeeTask {
Task_ID = 153,
Task_Assigned_Employee_ID = 41,
Task_Owner_ID = 1,
Task_Subject = "Territory Sales Breakdown Report",
Task_Start_Date = DateTime.Parse("2016-03-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-17T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.High,
Task_Completion = 50,
Task_Parent_ID = 22
},
new EmployeeTask {
Task_ID = 154,
Task_Assigned_Employee_ID = 3,
Task_Owner_ID = 1,
Task_Subject = "Return Merchandise Report",
Task_Start_Date = DateTime.Parse("2016-03-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-18T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 25,
Task_Parent_ID = 22
},
new EmployeeTask {
Task_ID = 155,
Task_Assigned_Employee_ID = 32,
Task_Owner_ID = 3,
Task_Subject = "Report on the State of Engineering Dept",
Task_Start_Date = DateTime.Parse("2016-03-18T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-19T00:00:00"),
Task_Status = "Not Started",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 22
},
new EmployeeTask {
Task_ID = 156,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 5,
Task_Subject = "Staff Productivity Report",
Task_Start_Date = DateTime.Parse("2016-03-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-21T00:00:00"),
Task_Status = "Not Started",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 23
},
new EmployeeTask {
Task_ID = 157,
Task_Assigned_Employee_ID = 5,
Task_Owner_ID = 1,
Task_Subject = "Review HR Budget Company Wide",
Task_Start_Date = DateTime.Parse("2016-03-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 40,
Task_Parent_ID = 23
},
new EmployeeTask {
Task_ID = 158,
Task_Assigned_Employee_ID = 8,
Task_Owner_ID = 5,
Task_Subject = "Sales Dept Budget Request Report",
Task_Start_Date = DateTime.Parse("2016-03-23T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 75,
Task_Parent_ID = 23
},
new EmployeeTask {
Task_ID = 159,
Task_Assigned_Employee_ID = 9,
Task_Owner_ID = 5,
Task_Subject = "Support Dept Budget Report",
Task_Start_Date = DateTime.Parse("2016-03-23T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 60,
Task_Parent_ID = 23
},
new EmployeeTask {
Task_ID = 160,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 5,
Task_Subject = "IT Dept Budget Request Report",
Task_Start_Date = DateTime.Parse("2016-03-23T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 30,
Task_Parent_ID = 23
},
new EmployeeTask {
Task_ID = 161,
Task_Assigned_Employee_ID = 32,
Task_Owner_ID = 5,
Task_Subject = "Engineering Dept Budget Request Report",
Task_Start_Date = DateTime.Parse("2016-03-23T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Urgent,
Task_Completion = 0,
Task_Parent_ID = 23
},
new EmployeeTask {
Task_ID = 162,
Task_Assigned_Employee_ID = 26,
Task_Owner_ID = 7,
Task_Subject = "1Q Travel Spend Report",
Task_Start_Date = DateTime.Parse("2016-03-24T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 30,
Task_Parent_ID = 23
},
new EmployeeTask {
Task_ID = 163,
Task_Assigned_Employee_ID = 7,
Task_Owner_ID = 27,
Task_Subject = "Approve Benefits Upgrade Package",
Task_Start_Date = DateTime.Parse("2016-03-26T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-27T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 23
},
new EmployeeTask {
Task_ID = 164,
Task_Assigned_Employee_ID = 5,
Task_Owner_ID = 7,
Task_Subject = "Final Budget Review",
Task_Start_Date = DateTime.Parse("2016-03-26T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-27T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 25,
Task_Parent_ID = 23
},
new EmployeeTask {
Task_ID = 165,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 1,
Task_Subject = "State of Operations Report",
Task_Start_Date = DateTime.Parse("2016-03-28T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-31T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 45,
Task_Parent_ID = 22
},
new EmployeeTask {
Task_ID = 166,
Task_Assigned_Employee_ID = 42,
Task_Owner_ID = 2,
Task_Subject = "Online Sales Report",
Task_Start_Date = DateTime.Parse("2016-03-29T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-03-30T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 55,
Task_Parent_ID = 22
},
new EmployeeTask {
Task_ID = 167,
Task_Assigned_Employee_ID = 13,
Task_Owner_ID = 10,
Task_Subject = "Reprint All Shipping Labels",
Task_Start_Date = DateTime.Parse("2016-04-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-10T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 10,
Task_Parent_ID = 24
},
new EmployeeTask {
Task_ID = 168,
Task_Assigned_Employee_ID = 28,
Task_Owner_ID = 13,
Task_Subject = "Shipping Label Artwork",
Task_Start_Date = DateTime.Parse("2016-04-02T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-09T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 40,
Task_Parent_ID = 24
},
new EmployeeTask {
Task_ID = 169,
Task_Assigned_Employee_ID = 13,
Task_Owner_ID = 29,
Task_Subject = "Specs for New Shipping Label",
Task_Start_Date = DateTime.Parse("2016-04-04T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-05T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Normal,
Task_Completion = 100,
Task_Parent_ID = 24
},
new EmployeeTask {
Task_ID = 170,
Task_Assigned_Employee_ID = 15,
Task_Owner_ID = 10,
Task_Subject = "Move Packaging Materials to New Warehouse",
Task_Start_Date = DateTime.Parse("2016-04-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-15T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 60,
Task_Parent_ID = 25
},
new EmployeeTask {
Task_ID = 171,
Task_Assigned_Employee_ID = 16,
Task_Owner_ID = 10,
Task_Subject = "Move Inventory to New Warehouse",
Task_Start_Date = DateTime.Parse("2016-04-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-15T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 70,
Task_Parent_ID = 25
},
new EmployeeTask {
Task_ID = 172,
Task_Assigned_Employee_ID = 14,
Task_Owner_ID = 10,
Task_Subject = "Take Forklift to Service Center",
Task_Start_Date = DateTime.Parse("2016-04-07T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-18T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 60,
Task_Parent_ID = 26
},
new EmployeeTask {
Task_ID = 173,
Task_Assigned_Employee_ID = 10,
Task_Owner_ID = 14,
Task_Subject = "Approve Rental of Forklift",
Task_Start_Date = DateTime.Parse("2016-04-08T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-09T00:00:00"),
Task_Status = "Need Assistance",
Task_Priority = Priority.Urgent,
Task_Completion = 0,
Task_Parent_ID = 26
},
new EmployeeTask {
Task_ID = 174,
Task_Assigned_Employee_ID = 7,
Task_Owner_ID = 10,
Task_Subject = "Give Final Approval to Rent Forklift",
Task_Start_Date = DateTime.Parse("2016-04-08T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-08T00:00:00"),
Task_Status = "Need Assistance",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 26
},
new EmployeeTask {
Task_ID = 175,
Task_Assigned_Employee_ID = 9,
Task_Owner_ID = 30,
Task_Subject = "Review Complaint Reports",
Task_Start_Date = DateTime.Parse("2016-04-17T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Urgent,
Task_Completion = 40,
Task_Parent_ID = 22
},
new EmployeeTask {
Task_ID = 176,
Task_Assigned_Employee_ID = 6,
Task_Owner_ID = 9,
Task_Subject = "Review Website Complaint Reports",
Task_Start_Date = DateTime.Parse("2016-04-18T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-24T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 65,
Task_Parent_ID = 22
},
new EmployeeTask {
Task_ID = 177,
Task_Assigned_Employee_ID = 33,
Task_Owner_ID = 37,
Task_Subject = "Test New Automation App",
Task_Start_Date = DateTime.Parse("2016-04-20T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 80,
Task_Parent_ID = 20
},
new EmployeeTask {
Task_ID = 178,
Task_Assigned_Employee_ID = 38,
Task_Owner_ID = 33,
Task_Subject = "Fix Synchronization Issues",
Task_Start_Date = DateTime.Parse("2016-04-21T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-21T00:00:00"),
Task_Status = "Completed",
Task_Priority = Priority.Urgent,
Task_Completion = 100,
Task_Parent_ID = 20
},
new EmployeeTask {
Task_ID = 179,
Task_Assigned_Employee_ID = 22,
Task_Owner_ID = 24,
Task_Subject = "Free Up Space for New Application Set",
Task_Start_Date = DateTime.Parse("2016-04-19T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-04-19T00:00:00"),
Task_Status = "Not Started",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 20
},
new EmployeeTask {
Task_ID = 180,
Task_Assigned_Employee_ID = 9,
Task_Owner_ID = 30,
Task_Subject = "Support Team Evaluation Report",
Task_Start_Date = DateTime.Parse("2016-05-01T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-05-07T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 22
},
new EmployeeTask {
Task_ID = 181,
Task_Assigned_Employee_ID = 1,
Task_Owner_ID = 30,
Task_Subject = "Review New Customer Follow Up Plan",
Task_Start_Date = DateTime.Parse("2016-05-05T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-05-11T00:00:00"),
Task_Status = "In Progress",
Task_Priority = Priority.Normal,
Task_Completion = 75,
Task_Parent_ID = 27
},
new EmployeeTask {
Task_ID = 182,
Task_Assigned_Employee_ID = 2,
Task_Owner_ID = 1,
Task_Subject = "Submit Customer Follow Up Plan Feedback",
Task_Start_Date = DateTime.Parse("2016-05-06T00:00:00"),
Task_Due_Date = DateTime.Parse("2016-05-10T00:00:00"),
Task_Status = "Deferred",
Task_Priority = Priority.Normal,
Task_Completion = 0,
Task_Parent_ID = 27
}
};
public static readonly IEnumerable<TaskEmployee> TaskEmployees = new[] {
new TaskEmployee {
ID = 1,
Name = "John Heart",
Picture = "../../Content/Images/employees/01.png"
},
new TaskEmployee {
ID = 2,
Name = "Samantha Bright",
Picture = "../../Content/Images/employees/04.png"
},
new TaskEmployee {
ID = 3,
Name = "Arthur Miller",
Picture = "../../Content/Images/employees/02.png"
},
new TaskEmployee {
ID = 4,
Name = "Robert Reagan",
Picture = "../../Content/Images/employees/03.png"
},
new TaskEmployee {
ID = 5,
Name = "Greta Sims",
Picture = "../../Content/Images/employees/06.png"
},
new TaskEmployee {
ID = 6,
Name = "Brett Wade",
Picture = "../../Content/Images/employees/05.png"
},
new TaskEmployee {
ID = 7,
Name = "Sandra Johnson",
Picture = "../../Content/Images/employees/08.png"
},
new TaskEmployee {
ID = 8,
Name = "Ed Holmes",
Picture = "../../Content/Images/employees/07.png"
},
new TaskEmployee {
ID = 9,
Name = "Barb Banks",
Picture = "../../Content/Images/employees/09.png"
},
new TaskEmployee {
ID = 10,
Name = "Kevin Carter",
Picture = "../../Content/Images/employees/10.png"
},
new TaskEmployee {
ID = 11,
Name = "Cindy Stanwick",
Picture = "../../Content/Images/employees/15.png"
},
new TaskEmployee {
ID = 12,
Name = "Sammy Hill",
Picture = "../../Content/Images/employees/11.png"
},
new TaskEmployee {
ID = 13,
Name = "Davey Jones",
Picture = "../../Content/Images/employees/12.png"
},
new TaskEmployee {
ID = 14,
Name = "Victor Norris",
Picture = "../../Content/Images/employees/13.png"
},
new TaskEmployee {
ID = 15,
Name = "Mary Stern",
Picture = "../../Content/Images/employees/16.png"
},
new TaskEmployee {
ID = 16,
Name = "Robin Cosworth",
Picture = "../../Content/Images/employees/14.png"
},
new TaskEmployee {
ID = 17,
Name = "Kelly Rodriguez",
Picture = "../../Content/Images/employees/17.png"
},
new TaskEmployee {
ID = 18,
Name = "James Anderson",
Picture = "../../Content/Images/employees/18.png"
},
new TaskEmployee {
ID = 19,
Name = "Antony Remmen",
Picture = "../../Content/Images/employees/19.png"
},
new TaskEmployee {
ID = 20,
Name = "Olivia Peyton",
Picture = "../../Content/Images/employees/20.png"
},
new TaskEmployee {
ID = 21,
Name = "Taylor Riley",
Picture = "../../Content/Images/employees/21.png"
},
new TaskEmployee {
ID = 22,
Name = "Amelia Harper",
Picture = "../../Content/Images/employees/22.png"
},
new TaskEmployee {
ID = 23,
Name = "Wally Hobbs",
Picture = "../../Content/Images/employees/23.png"
},
new TaskEmployee {
ID = 24,
Name = "Brad Jameson",
Picture = "../../Content/Images/employees/24.png"
},
new TaskEmployee {
ID = 25,
Name = "Karen Goodson",
Picture = "../../Content/Images/employees/25.png"
},
new TaskEmployee {
ID = 26,
Name = "Marcus Orbison",
Picture = "../../Content/Images/employees/26.png"
},
new TaskEmployee {
ID = 27,
Name = "Sandy Bright",
Picture = "../../Content/Images/employees/27.png"
},
new TaskEmployee {
ID = 28,
Name = "Morgan Kennedy",
Picture = "../../Content/Images/employees/28.png"
},
new TaskEmployee {
ID = 29,
Name = "Violet Bailey",
Picture = "../../Content/Images/employees/29.png"
},
new TaskEmployee {
ID = 30,
Name = "Ken Samuelson",
Picture = "../../Content/Images/employees/32.png"
},
new TaskEmployee {
ID = 31,
Name = "Nat Maguiree",
Picture = "../../Content/Images/employees/34.png"
},
new TaskEmployee {
ID = 32,
Name = "Bart Arnaz",
Picture = "../../Content/Images/employees/37.png"
},
new TaskEmployee {
ID = 33,
Name = "Leah Simpson",
Picture = "../../Content/Images/employees/38.png"
},
new TaskEmployee {
ID = 34,
Name = "Arnie Schwartz",
Picture = "../../Content/Images/employees/40.png"
},
new TaskEmployee {
ID = 35,
Name = "Billy Zimmer",
Picture = "../../Content/Images/employees/42.png"
},
new TaskEmployee {
ID = 36,
Name = "Samantha Piper",
Picture = "../../Content/Images/employees/30.png"
},
new TaskEmployee {
ID = 37,
Name = "Maggie Boxter",
Picture = "../../Content/Images/employees/31.png"
},
new TaskEmployee {
ID = 38,
Name = "Terry Bradley",
Picture = "../../Content/Images/employees/33.png"
},
new TaskEmployee {
ID = 39,
Name = "Gabe Jones",
Picture = "../../Content/Images/employees/35.png"
},
new TaskEmployee {
ID = 40,
Name = "Lucy Ball",
Picture = "../../Content/Images/employees/36.png"
},
new TaskEmployee {
ID = 41,
Name = "Jim Packard",
Picture = "../../Content/Images/employees/43.png"
},
new TaskEmployee {
ID = 42,
Name = "Hannah Brookly",
Picture = "../../Content/Images/employees/39.png"
},
new TaskEmployee {
ID = 43,
Name = "Harv Mudd",
Picture = "../../Content/Images/employees/44.png"
},
new TaskEmployee {
ID = 44,
Name = "Clark Morgan",
Picture = "../../Content/Images/employees/45.png"
},
new TaskEmployee {
ID = 45,
Name = "Todd Hoffman",
Picture = "../../Content/Images/employees/46.png"
},
new TaskEmployee {
ID = 46,
Name = "Jackie Garmin",
Picture = "../../Content/Images/employees/47.png"
},
new TaskEmployee {
ID = 47,
Name = "Lincoln Bartlett",
Picture = "../../Content/Images/employees/49.png"
},
new TaskEmployee {
ID = 48,
Name = "Brad Farkus",
Picture = "../../Content/Images/employees/50.png"
},
new TaskEmployee {
ID = 49,
Name = "Jenny Hobbs",
Picture = "../../Content/Images/employees/48.png"
},
new TaskEmployee {
ID = 50,
Name = "Dallas Lou",
Picture = "../../Content/Images/employees/41.png"
},
new TaskEmployee {
ID = 51,
Name = "Stu Pizaro"
}
};
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Web;
namespace DevExtreme.MVC.Demos.Models {
public abstract class InMemoryDataContext<T> {
protected ICollection<T> ItemsInternal {
get {
var session = HttpContext.Current.Session;
var key = GetType().FullName;
if(session[key] == null)
session[key] = DeepClone(Source);
return (ICollection<T>)session[key];
}
}
protected abstract IEnumerable<T> Source { get; }
public void SaveChanges() {
foreach(var item in ItemsInternal.Where(i => GetKey(i) == 0))
SetKey(item, ItemsInternal.Max(GetKey) + 1);
}
protected abstract int GetKey(T item);
protected abstract void SetKey(T item, int key);
static ICollection<T> DeepClone(IEnumerable<T> source) {
return JsonSerializer.Deserialize<List<T>>(JsonSerializer.Serialize(source));
}
}
}
using System;
using System.Collections.Generic;
namespace DevExtreme.MVC.Demos.Models.TreeList {
public class InMemoryEmployeesDataContext : InMemoryDataContext<Employee> {
public ICollection<Employee> Employees => ItemsInternal;
protected override IEnumerable<Employee> Source => SampleData.SampleData.TreeListEmployees;
protected override int GetKey(Employee item) => item.ID;
protected override void SetKey(Employee item, int key) => item.ID = key;
}
}
using System;
using System.Collections.Generic;
namespace DevExtreme.MVC.Demos.Models.TreeList {
public class InMemoryTasksDataContext : InMemoryDataContext<EmployeeTask> {
public ICollection<EmployeeTask> Tasks => ItemsInternal;
public IEnumerable<TaskEmployee> TaskEmployees => SampleData.SampleData.TaskEmployees;
protected override IEnumerable<EmployeeTask> Source => SampleData.SampleData.EmployeeTasks;
protected override int GetKey(EmployeeTask item) => item.Task_ID;
protected override void SetKey(EmployeeTask item, int key) => item.Task_ID = key;
}
}
using System.Collections.Generic;
using DevExtreme.MVC.Demos.Models.TreeList;
namespace DevExtreme.MVC.Demos.ViewModels {
public class KanbanListViewModel {
public string Status { get; set; }
public IEnumerable<EmployeeTask> Tasks { get; set; }
public IEnumerable<TaskEmployee> Employees { get; set; }
}
}
using DevExtreme.MVC.Demos.Models.TreeList;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DevExtreme.MVC.Demos.ViewModels {
public class KanbanViewModel {
public IEnumerable<string> Statuses { get; set; }
public IEnumerable<EmployeeTask> Tasks { get; set; }
public IEnumerable<TaskEmployee> Employees { get; set; }
}
}
#kanban {
white-space: nowrap;
}
.list {
border-radius: 8px;
margin: 5px;
background-color: rgba(192, 192, 192, 0.4);
display: inline-block;
vertical-align: top;
white-space: normal;
}
.list-title {
color: var(--dx-color-text);
font-size: 16px;
padding: 10px;
padding-left: 30px;
margin-bottom: -10px;
font-weight: bold;
cursor: pointer;
}
.scrollable-list {
height: 400px;
width: 260px;
}
.sortable-cards {
min-height: 380px
}
.card {
color: var(--dx-color-text);
position: relative;
background-color: var(--dx-component-color-bg);
box-sizing: border-box;
width: 230px;
padding: 10px 20px;
margin: 10px;
cursor: pointer;
}
.card-subject {
padding-bottom: 10px;
}
.card-assignee {
opacity: 0.6;
}
.card-priority {
position: absolute;
top: 10px;
bottom: 10px;
left: 5px;
width: 5px;
border-radius: 2px;
background: #86C285;
}
.priority-1 {
background: #ADADAD;
}
.priority-2 {
background: #86C285;
}
.priority-3 {
background: #EDC578;
}
.priority-4 {
background: #EF7D59;
}
.sortable-lists {
display: flex;
}