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