getById method

Implementation

Future<ResponseItemDTO<PromoCodeDTO>> getById({String? id}) async {
  return await _repository!.getById(
    id: id,
  );
}