public BaseResponse CreateOrUpdateTournament(TournamentModel model) { var dbResult = tradingRepository.CreateOrUpdateTournament( new Tournament { Name = model.Name, Id = model.Id, CreatedOn = model.CreatedOn }); return(new BaseResponse { Success = dbResult == 1 }); }