示例#1
0
        public async Task <IHttpActionResult> AddProjectAsync(Guid developerId, Guid projectId)
        {
            try {
                await _developerService.AddProjectAsync(developerId, projectId);

                return(Ok());
            } catch (Exception ex) {
                return(BadRequest(ex.Message));
            }
        }