public async Task <IResponse> CreateBattleAsync(CreateBattleCommand command) { var battle = new Battle(command.Name); await _battleRepository.Create(battle); await _unitOfWork.SaveChanges(); return(new SuccessResponse()); }