Пример #1
0
        public ApiResult RemoveMember(int projectId, int memberId)
        {
            var projectMember = _projectMemberService.GetProjectMember(projectId, memberId);

            if (projectMember == null)
            {
                return(ApiResult.BadRequest());
            }

            _projectMemberService.RemoveProjectMember(projectMember);

            return(ApiResult.NoContent());
        }