public async Task <IActionResult> CreateTither(TitherParameters parameters)
        {
            var result = await _mediator.Send(new CreateTitherCommand(parameters));

            return((result != null)
                ? CreatedAtRoute(nameof(GetTitherById), new { result.Id }, result)
                : (IActionResult)BadRequest());
        }
        public async Task <IActionResult> UpdateTither(Guid id, TitherParameters parameters)
        {
            await _mediator.Send(new UpdateTitherCommand(id, parameters));

            return(NoContent());
        }