Added basics for task controller
This commit is contained in:
@@ -7,6 +7,7 @@ namespace ScrumTaskboard
|
||||
{
|
||||
public DbSet<ScrumTask> Tasks { get; set; }
|
||||
public DbSet<ScrumUserstory> Userstories { get; set; }
|
||||
public DbSet<ScrumCategory> Categories { get; set; }
|
||||
|
||||
public TaskContext() { }
|
||||
|
||||
@@ -42,4 +43,13 @@ namespace ScrumTaskboard
|
||||
public int createdby { get; set; }
|
||||
public int project { get; set; }
|
||||
}
|
||||
|
||||
public class ScrumCategory
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string title { get; set; }
|
||||
public string description { get; set; }
|
||||
public string color { get; set; }
|
||||
public int project { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user