public async Task <ActionResult> RejectTvRequest([FromRoute] int id, [FromBody] RejectTvRequestCommand command)
        {
            command.RequestId = id;

            var result = await _mediator.Send(command);

            return(result.ToResultIfValid <NoContentResult>());
        }
 private void GivenACommand(bool rejectAll)
 {
     _command = new RejectTvRequestCommand
     {
         RequestId        = 1,
         Comment          = Guid.NewGuid().ToString(),
         RejectAll        = rejectAll,
         EpisodesBySeason = new Dictionary <int, List <int> >
         {
             [1] = new List <int> {
                 1, 2, 3
             },
             [2] = new List <int> {
                 1, 2, 3, 4
             }
         }
     };
 }