public async Task <IActionResult> UpdateProject(string id, [FromBody] GoNorthProject project) { GoNorthProject loadedProject = await _projectDbAccess.GetProjectById(id); loadedProject.Id = id; loadedProject.Name = project.Name; loadedProject.IsDefault = project.IsDefault; await _projectDbAccess.UpdateProject(loadedProject); _logger.LogInformation("Project was updated."); await _timelineService.AddTimelineEntry(null, TimelineEvent.ProjectUpdated, project.Name); return(Ok(id)); }