Created sprintController
This commit is contained in:
@@ -6,6 +6,7 @@ namespace ScrumTaskboard
|
||||
public class TaskContext : DbContext
|
||||
{
|
||||
public DbSet<ScrumTask> Tasks { get; set; }
|
||||
public DbSet<ScrumSprint> Sprints { get; set; }
|
||||
|
||||
public TaskContext() { }
|
||||
|
||||
@@ -29,4 +30,13 @@ namespace ScrumTaskboard
|
||||
public int project { get; set; }
|
||||
public int userstory { get; set; }
|
||||
}
|
||||
public class ScrumSprint
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string title { get; set; }
|
||||
public string description { get; set; }
|
||||
public DateTime startDate { get; set; }
|
||||
public DateTime endDate { get; set; }
|
||||
public int project { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user