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