public static ReportProcessingTimeViewModel Create(IWorkgroupService workgroupService, Workgroup workgroup, bool onlyShowReRouted) { var workgroups = workgroupService.LoadAdminWorkgroups(); var viewModel = new ReportProcessingTimeViewModel() { Workgroups = workgroups, Workgroup = workgroup, OnlyShowReRouted = onlyShowReRouted, Columns = new List <ReportProcessingColumns>() }; return(viewModel); }
public static ReportProcessingTimeViewModel Create(IWorkgroupService workgroupService, Workgroup workgroup, bool onlyShowReRouted) { var workgroups = workgroupService.LoadAdminWorkgroups(); var viewModel = new ReportProcessingTimeViewModel() { Workgroups = workgroups, Workgroup = workgroup, OnlyShowReRouted = onlyShowReRouted, Columns = new List<ReportProcessingColumns>() }; return viewModel; }