Added Basic project controller

This commit is contained in:
Niggl1999
2020-06-04 17:44:11 +02:00
parent caa5456eab
commit 5ee9e6e444
2 changed files with 121 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ namespace ScrumTaskboard
public DbSet<ScrumCategory> Categories { get; set; }
public DbSet<ScrumSprint> Sprints { get; set; }
public DbSet<ScrumStatus> Status { get; set; }
public DbSet<ScrumProject> Projects { get; set; }
public TaskContext() { }
@@ -71,4 +72,11 @@ namespace ScrumTaskboard
public string title { get; set; }
public string description { get; set; }
}
public class ScrumProject
{
public int id { get; set; }
public string title { get; set; }
public bool isprivate { get; set; }
}
}