public OverviewPerCatagory(ICategoryData categoryData)
 {
     TasksPerCatagories = new List <TasksPerCatagory>();
     foreach (Data.Category category in categoryData.GetAll())
     {
         TasksPerCatagories.Add(new TasksPerCatagory(category));
     }
 }
Exemplo n.º 2
0
 public Response <Category> GetAll()
 {
     return(_actionCategory.GetAll());
 }
Exemplo n.º 3
0
 public void OnGet()
 {
     Categories = categoryData.GetAll();
 }