public async Task <ProjectMemberDTO> EditAsync([FromBody] ProjectMemberDTO model) { if (!TryValidateModel(model)) { throw new Exception("400"); } return(await _projectMemberService.EditAsync(model)); }