public IActionResult Update([FromBody] MatchTypeDTO matchTypeDTO)
 {
     _matchTypeService.Update(_mapper.Map <MatchType>(matchTypeDTO));
     return(new OkObjectResult(true));
 }
        public async Task <IActionResult> Add([FromBody] MatchTypeDTO matchTypeDTO)
        {
            await _matchTypeService.Add(_mapper.Map <MatchType>(matchTypeDTO));

            return(new OkObjectResult(true));
        }