Пример #1
0
        public async Task <IActionResult> CreateNewProjectMembers(NewProjectMembersDTO newMembersDTO)
        {
            try
            {
                var newProjectMembers = await _projectMemberService.CreateProjectMembers(newMembersDTO);

                return(StatusCode(200, newProjectMembers));
            }
            catch (HttpResponseException ex)
            {
                return(StatusCode(500, ex.Value));
            }
        }