public IActionResult AddProject([FromBody] ProjectDTO project) { project.Administrator = UserHelper.GetUserId(HttpContext.User); bool added = _dashboardService.AddProject(project); if (added) { return(Ok()); } //return CreatedAtAction( "Get", new { id = note.Id }, note ); return(BadRequest()); }