public async Task <IActionResult> AddNewParticipant(Guid id, [FromBody] UpdateProjectParticipantsCommand updateProjectParticipants)
        {
            await _mediator.Publish(
                new UpdateProjectParticipantsCommand
            {
                Id           = id,
                Participants = updateProjectParticipants.Participants
            });

            return(Ok());
        }
        public async Task <IActionResult> Delete([FromBody] UpdateProjectParticipantsCommand command)
        {
            try
            {
                var output = await Mediator.Send(command);

                return(Ok(output));
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }