public virtual ActionResult ByDistribution(string budgetId) { var budget = ProjectionManager.GetBudgetProjection(budgetId); var categories = ProjectionManager.GetCategories().GetBudgetsCategories(budgetId); var model = new DistributionTimeViewModel(budgetId, budget, categories); return(View(model)); }
public virtual ActionResult ByDistribution(string budgetId) { var budget = ProjectionManager.GetBudgetProjection(budgetId); var categories = ProjectionManager.GetCategories().GetBudgetsCategories(budgetId); var model = new DistributionTimeViewModel(budgetId, budget, categories); return View(model); }