public async Task <IActionResult> GetProject(Guid id) { var projectService = new ListProjectService(_context); return(new ObjectResult(await projectService.GetProjectDetails(id))); }
public StartWindowViewModel() { _optimazationContext = BootStrapper.Resolve <OptimizationContext>(); _projectService = new ListProjectService(_optimazationContext); }
public async Task <IActionResult> GetProjects() { var projectService = new ListProjectService(_context); return(new ObjectResult(await projectService.GetProjectSummary())); }