public async Task <IHttpActionResult> AddProjectAsync(Guid developerId, Guid projectId) { try { await _developerService.AddProjectAsync(developerId, projectId); return(Ok()); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public async Task <IHttpActionResult> AddProjectAsync(Guid developerId, Guid projectId) { try { await _developerService.AddProjectAsync(developerId, projectId); return(Ok()); } catch (Exception ex) { return(BadRequest(ex.Message)); } }